Computer Science, asked by quentynjoroge, 4 months ago

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 Anonymous
1

Explanation:

hhhhhhhhhhhhhhhhhhhhhhhhhhuuyuu

Answered by 1234nospam
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