Create student class to store id, name and phone number. Derive this class as report to store id, name, phone number, mark1, mark2 and mark3. Write constructor, destructor and methods to take data and print data. Also write a method to print total mark.

8 Years
Discussion Span
Last Post by Ancient Dragon

Most of us can probably do that, but we are not in your classroom. Post whatever you have done to solve that problem and ask questions. The first things you need to do is listen in class (assuming you attended class at all), then study your textbook.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.