Question: Write a program that accepts a list of test scores separated by a space in one line and then assigns grades to each score using
Write a program that accepts a list of test scores separated by a space in one line and then assigns grades to each score using the following criteria:Grade of A if the test score is Grade of B if the test score is Grade of C if the test score is Grade of D if the test score is Grade of F if the test score is A valid test score falls in the indicated range: test score If the user enters an invalid test score, provide an error message, and allow the user to reenter the test score list.Sample Output:Enter test scores: A score of is a grade of BA score of is a grade of AA score of is a grade of CA score of is a grade of BA score of is a grade of DA score of is a grade of F After the test score grades are displayed, allow the user to enter another list of test scores or provide a closing message and end the program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
