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.
Answers
Answered by
1
Explanation:
hhhhhhhhhhhhhhhhhhhhhhhhhhuuyuu
Answered by
4
Answer:
Taking data and instructions from a user, processing the data as per instructions, and displaying or storing the processed data, are the four major functions of a computer. These functions are also known as the input function, process function, output function, and storage function, respectively.
Similar questions
English,
2 months ago
Physics,
2 months ago
Math,
2 months ago
Accountancy,
4 months ago
India Languages,
4 months ago
Math,
10 months ago
English,
10 months ago
Physics,
10 months ago