Saved Bookmarks
| 1. |
a)Consider an example of declaring the examination result. Design three classes: Student, Exam and Result. The Student class has data members such as those representing registration number, name etc. Create a class Exam by inheriting the student class. The exam class adds data members representing the marks scored in six subjects. Derive class Result from the exam class and it has own data members such as total_marks. Write an interactive program in C++ to model this relationship. |
|
Answer» ydss. sbDhliafbhdgv DJ,ffdgkfsacj beydhsc ndjhff cxcnm xcnm cfhbffghj sbmdfk xgkmdsf grukdscujhgghzsgj |
|