By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,826 Members | 2,443 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,826 IT Pros & Developers. It's quick & easy.

solve the problem and enjoy........

P: 7
Write a program which consists of a class named Student, the class should consists of three data members Name, Ob_marks, Total_marks and two member functions Cal_percentage() which calculate the percentage of the student by the formula (Ob_marks * 100 )/Total_marks and Display() which show all information of the student. The class should also contain the default constructor which initializes all the data member of the class.
In main program define an object of the Student class and call the member functions with this object.
Jun 12 '07 #1
Share this Question
Share on Google+
4 Replies

Expert 100+
P: 1,275
This is against posting guidelines.
Why cant you Try out this first and post only the issues u are facing there?
I think you have already posted similar posts which is against the guidelines.

Jun 12 '07 #2

P: 79
Enjoy? Are you kidding?
Jun 12 '07 #3

P: 94
I'm not sure what the problem is.
It's so easy. It took me 10 minutes. Really man, try it first and then you'll be able to get much help with it. It's not very hard
Jun 12 '07 #4

P: 208
I love when people come to the site wanting quick fixes. Us doing the code will not help you get better at programming
Jun 12 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.