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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 21:30, Tcareyoliver
The salespeople at hyperactive media sales all use laptop computers so they can take data with them on the road. you are a salesperson for superduper lightspeed computers talking to hyperactive media sales about upgrading the laptops to windows 10. explain how network location awareness in windows 10 would make the laptops more secure.
Answers: 3
image
Computers and Technology, 23.06.2019 02:00, HannahVance99
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
image
Computers and Technology, 23.06.2019 04:31, hargunk329
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, Gearyjames8
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
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 in other subjects:

Konu
English, 24.10.2019 09:43