Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given that, the student class contains the following Data members (all private) char name[20], int number, float coursel Grade, float course2 Grade, float Average Grade
Given that, the student class contains the following Data members (all private) char name[20], int number, float coursel Grade, float course2 Grade, float Average Grade Member functions (all public) void input0, void calculate0 Write a C++ program to read the data of 3 students and compute Average Grade of each student Note: You should be able to finish this lab in one hour. Otherwise, you have to spend more effort . Hint: vou can use the following http://www.tutorialdost.com/Cpp-Programming-Tutorial/34-Cpp-Class-Array.aspx Test Run nter student 1 detials nter number:101 nter name Marya nter course1 Grade:98 nter coursel Grade:92 nter student 2 detials nter number:182 nter name: Jack nter course1 Grade:98 nter coursel Grade:99 nter student 3 detials nter number:183 nter name Elisa nter course1 Grade:88 nter coursel _Grade:98 UMBER NAME AVERGAE GRADE 81 02 03 ress any key to continue. . . Marya 91 Jack 94.5 Elisa 89
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started