Question: C++, #include , using namespace std, No pointers Create a class, Student, with the following private attributes: name (string), and an array or vector to
C++, #include

Create a class, Student, with the following private attributes: name (string), and an array or vector to hold 5 grades (int). The class has public set and get methods as well as a public method to calculate and return the student's average grade (as float) The main program will create an array or vector to handle up to 30 students. The data for all students will be read from file studentData.txt (which you will create) and stored into the array or vector of student objects. You must have between 6 and 30 students in your file (read until eof) Your program will process the array or vector of students and write to the console the student's name, all grades, and average grade, using a column format. Allow 35 spaces for name, and eight spaces for each grade. After all students are listed, write summary data, one per line, of how many students were in the class, the highest and lowest average grade, and the average grade for the entire class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
