Write a Program to perform the following scenario. Define a class student with roll no as member and getdata and putdata

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: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write a Program to perform the following scenario. Define a class student with roll no as member and getdata and putdata

Post by answerhappygod »

Write A Program To Perform The Following Scenario Define A Class Student With Roll No As Member And Getdata And Putdata 1
Write A Program To Perform The Following Scenario Define A Class Student With Roll No As Member And Getdata And Putdata 1 (104.61 KiB) Viewed 45 times
solve this by c++ programming
Write a Program to perform the following scenario. Define a class student with roll no as member and getdata and putdata as member functions.. Define another class test that inherit the class student, this class test has data members as marks in the subject 1 and subject 2 with member functions getmark and putmark. Define another class result that inherit the class test with data member total and member function to compute the total marks. Note make use of the access specifier public For example: Test Input Result 1 101 Total =142.5 87.5 55.0 2 102 Total =118.0 72.6 45.4 Answer: (penalty regime: 0, 0, 10, 20, ... %)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply