You willcreate aGrade Programthat will calculatestudents’weighted averages. You are going to have the user enter lab grades, test grades, and projectgrades. You will then display a grade report of...


You willcreate aGrade Programthat will calculatestudents’weighted averages. You are going to have the user enter lab grades, test grades, and projectgrades. You will then display a grade report of each individual average along with their overall average and letter grade.


1.Asktheuserto enter theirlabgrades.CalltheaverageGradefunctionthat will allow the user to enter theirgradesand calculate theiraverage.


2.averageGrade Function:This will passthe averagebackto the main function.You shouldNOTsend any parameters to this function.You will beusing awhile loop, with aprimingread and asentinelvalue to end the loop.This means theuser should be able to enter any number of grades that they want and exit the loop when they are doneentering grades.Whentheyexittheloop,compute the average(Make sure to desk check the average).Then you will return the average back.


3.Ask the user to enter theirtestgrades. Again, call theaverageGradefunction that you created to average any number of grades.

4.Ask the user to enter theirprojectgrades. Again, call theaverageGradefunction.


5.Now you will calculate the students overall average in the class.Create aclassAveragefunction tocomputethe averageforthe class from the 3 averages above. Usethefollowing percentagesas the weights for each of the grades(Lab–50%, Tests – 40%, and Project –10%).You will passthe functionthe 3 averages and return the finalaverage.


6.Determine Letter Grade:CreateagetLetterGradefunctionto determinethe finallettergradebased on their number average calculatedin step 5. Make this a void function that is sent two parameters,the number grade by value and the letter gradeby reference.


7.Display the Midterm Grade Report:Create adisplayGradeReportfunctiontooutput all of your results.This includes the lab average, test average, project average, class average, and class letter grade.This will also be a void function. Use setprecision() and setw() to makeyour output look nice.

8.Do While Loop:Ask user if they want to enter data for a new student. If yes,then clearthescreen and loop back, if not thendisplaysome type of message to end the program.



When completedwiththeprogram there should be 4 functionsin addition tothe MAIN function.

Nov 03, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here