subject

Please use visual C++ to create 3 files for this assignment, 2 .ccp and 1 .h files. Thanks Develop a C++ Application to allow a Instructor to enter the name of a students and then allow 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:
Letter Grade
Percentage
A+ 100% or more
A 93%-99%
A- 90%-92%
B+ 87%-89%
B 83%-86%
B- 80%-82%
C+ 77%-79%
C 73%-76%
C- 70%-72%
D+ 67%-69%
D 63%-66%D- 60%-62%F 0%-59%
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.
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 CalAverage 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.
The student class must have the following functions:
Student(the constructor): must accept as a parameter ONLY a String(the name of the student).
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.
CalAverage: It returns a double (the final average grade: double). This function wonât accept any parameter.
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.
The program must allow the user to enter the number of grades to control the loop (counter controlled).

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:30
The total revenues for a company are $150,223 and the total expenses were 125,766. if you are calculating the net income, which of these spreadsheets would you use? insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2-b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2+b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2/b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2*b3. the formula should be showing in the formula bar.
Answers: 3
question
Computers and Technology, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
question
Computers and Technology, 23.06.2019 23:00
Computer programming is one type of what career
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
You know the right answer?
Please use visual C++ to create 3 files for this assignment, 2 .ccp and 1 .h files. Thanks Develo...
Questions
question
Mathematics, 31.03.2021 20:30
question
Mathematics, 31.03.2021 20:30
Questions on the website: 13722360