write a c++ program
10 Create a class called Person with the following data members (Name, Age, and Gender). Create a class called student with the additional details such as (Reg.No, Programme, School, CGPA). Create another class called Sport with level (State/National) as the data member. Add 0.5 point to the student's CGPA if he is a State level player and 1 point to the student's CGPA if he is a national level player. Write a C++ program to print the name and registration number of the student along with his CGPA using inheritance.
10 Create a class called Person with the following data members (Name, Age, and Gender). Create a class called student w
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
10 Create a class called Person with the following data members (Name, Age, and Gender). Create a class called student w
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!