5:17:56 OB/s 0? 50% ( More ECS-401-Mid-S... |I C:\Users\hp\Documents\Student result.exe enter ur Roll No... 100 enter ur name... МAAZ enter three subjects marks... 87 78 77 ur Roll No... = 100 ur...


Write a C++ program in which a class Result that contains roll_no, name and marks of three subjects. The marks are stored in one dimensional array of integer type. The class also contains the following member functions:The Input ( ) function is used to insert the values in data members.The Show ( ) function is used to displays the values of data members.The Total ( ) function returns the total marks of the students.The Avg ( ) function returns the average marks of a student.


5:17:56<br>OB/s 0?<br>50%<br>( More<br>ECS-401-Mid-S...<br>|I C:\Users\hp\Documents\Student result.exe<br>enter ur Roll No...<br>100<br>enter ur name...<br>МAAZ<br>enter three subjects marks...<br>87<br>78<br>77<br>ur Roll No... = 100<br>ur name...<br>= MAAZ<br>ur marks in subject 0 = 87<br>ur marks in subject 1 = 78<br>ur marks in subject 2 = 77<br>Total Marks...<br>Average Marks...<br>= 242<br>= 80.6667<br>Q<br>Edit<br>Fit screen<br>Search<br>Save as<br>

Extracted text: 5:17:56 OB/s 0? 50% ( More ECS-401-Mid-S... |I C:\Users\hp\Documents\Student result.exe enter ur Roll No... 100 enter ur name... МAAZ enter three subjects marks... 87 78 77 ur Roll No... = 100 ur name... = MAAZ ur marks in subject 0 = 87 ur marks in subject 1 = 78 ur marks in subject 2 = 77 Total Marks... Average Marks... = 242 = 80.6667 Q Edit Fit screen Search Save as

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here