Write a program to read test scores, process scores, and display a final report or save the report into a text file. A report is generated for a class of 4 students.
Write a program to read test scores, process scores, and display a final report or save the report into a text file. A report is generated for a class of 4 students.
A test score is an integer from 0 to 100. There are no extra credits. A letter grade can be assigned as follows: If an average is 90 or greater, the letter grade A is assigned. Otherwise, if an average is 80 or greater, the letter grade B is assigned. Otherwise, if an average is 70 or greater, the letter grade C is assigned. Otherwise, the letter grade F is assigned.
Users can process the scores and display a report like this, save the report into a file, or quit.
Test 1 Test 2 Average Grade
—— —— ——- —–
090 059 074.5 C
082 080 081.0 B
039 100 069.5 F
089 092 090.5 A
See more information in sample run on next page. I upload a picture of the rest. see the attach.
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


