Question: Sections 7.2-7.5 (Assign grades) Write a program that reads s and then assigns grades based on the following scheme: Grade is A if score is
Sections 7.2-7.5 (Assign grades) Write a program that reads s and then assigns grades based on the following scheme: Grade is A if score is 2 best- 10 Grade is B if score is 2 best- 20 Grade is C if score is 2 best-30; Grade is D if score is 2 best-40; Grade is F otherwise. The program prompts the user to enter the total number of students, then prompts the user to enter all of the scores, and concludes by displaying the grades. Here is a sample run: *7.1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
