

InterviewSolution
Saved Bookmarks
1. |
Write a C++ program to create base class ‘‘Student’’ with data [10] members (Name, rollno, Marks of 3 subjects, total marks) and function get() (to take input from the user) , Create a derived class ‘‘Result’’ with function calculate which calculates the percentage of the student and display the Grade as PASS with percentage> 50 and Grade as FAIL with percentage Using Inheritance |
Answer» USE ARRAYS to do itExplanation: | |