10 Create a class called Person with the following data members (Name, Age, and Gender). Create a class called student w

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
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

Post by answerhappygod »

10 Create A Class Called Person With The Following Data Members Name Age And Gender Create A Class Called Student W 1
10 Create A Class Called Person With The Following Data Members Name Age And Gender Create A Class Called Student W 1 (20.59 KiB) Viewed 40 times
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply