Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

<Write a complete C++ program to claculate students semester averages, final let

ID: 3865408 • Letter: #

Question

<Write a complete C++ program to claculate students semester averages, final letter grades as well as the class average and the distrubution of letter grades. A date file, StudentGrades.txt, has been prepared containing the student's name, and three test scores, test 1, test 2 and finalTest.

The program should do the following:

1. The main function will read a student's record from a file and call a function, computeAverage which will compute and return the student's avergae using the following formula:

semesterAvergae = 0.20 * test1 + 0.30 * test2 + 0.50 * finalTest

2. The main program will then invoke a function, letterGrade, which will return the student's letter grade according to the follwing scheme:

Semester Average Final Letter Grade

>=90 A

>=80 B

>=70 C

>=60 D

<60 F

3. The main program will then invoke a function, printRecord, which will print a student's record.

4. The main program will tabulate the grade distribution, class average, and the highest and lowest semster grade.

The program must detrmine when there are no more student's to process. Explain your method in a comment. Write all output to file called Roster.txt. Your output should contain headings and be neatly formatted. Use the following data:

James 85 90 85

Henry 70 90 70

Lizzie 45 50 65

Robert 75 80 72

Jacob 72 78 78

Maggie 92 98 95

Marco 70 70 70

Chris 90 88 95

Jackie 88 88 88

Christina 50 65 65

Try to aviod the use of global varibales

Explanation / Answer

NOTE: I have completed code for your assignment. please check and comment if you find any issues. I would really like to help you. Please give me 24 hours to revert back.

Code:
http://pasted.co/15ee2be1

Code output screenshot:
https://pasteboard.co/GDE4yA1.png

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote