Question: C++ / Please do your best to follow instructions as best at possible Develop a C++ Application to allow a Instructor to enter the name

C++ / Please do your best to follow instructions as best at possible  C++ / Please do your best to follow instructions as best
at possible Develop a C++ Application to allow a Instructor to enter
the name of 1 student and then allow the user to enter

Develop a C++ Application to allow a Instructor to enter the name of 1 student and then allow the user to enter 10 grades (from 0 to 100 ) after all grades are entered to program should calculate the final average grade and the final letter grade with this rubric: 1. You have to create 3 files. The first file will have the main application (StudentGradeJava.cpp) and the second one will have the class declaration (Student.h), and third will have the class implementation(Student.cpp). See Class Diagram: 2. The main application must create object of the Student class, allow the user to enter the name of the student and his/her 10 grades. In order to enter the grades the main application must use a loop (while loop). Inside the loop the program should ask the user to enter the grade, then invoke the function AddGrade to accumulate the grades. After the loop is finished it must invoke the function CalcAverage to obtain the final average, then invoke the function GetLetterGrade (see rubrics). Finally, the main program must print the name of the student, the final grade, and the letter grade. 3. The student class must have the following functions: a. Student(the constructor): must accept as a parameter ONLY a String(the name of the student). b. AddGrade: it must accept as a parameter a double (the grade passed from the main application) this method must storage the total Grade in a class variable(TotalGrade: double). This function won't return anything. c. CalAverage: It returns a double (the final average grade: double). This function will accept a Int parameter to obtain the number of grades. d. GetLetterGrade: It must returns a string (the letter). This function will accept a double number (the final average that was calculate in the previous function) and use the rubric to calculate letter grade. MUST: The program must allow the user to enter the number of grades to control the loop (counter controlled)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!