Question: Your solution must include these components: Flowchart Pseudo - code Program Coded Program Output write a program that asks the user to enter 5 test
Your solution must include these components:
Flowchart
Pseudocode
Program Coded
Program Output
write a program that asks the user to enter test scores. The program should display a letter grade for each score and the average test score. Design the following modulesfunctions in the program:
Module mainContains only a call to getScores
Module getScoresUses a loop to allow user input of five numeric scores between For each score, determineGrade is called to determine and return the corresponding letter grade. The score is added to the total of all scores. When all scores have been entered, calcAverage is called to calculate and return the overall average.
Function calcAverageThis function should accept the total of all test scores and return the average of the scores
Function determineGradeThis function should accept a test score as an argument and return a letter grade for the score as a String based on the following grading scale:
A
B
C
D
Below F
Expected Output
Your results should be similar to the following:
Please enter test scores to receive their letter grades and average of the scores.
Enter grade for test :
The grade for test is A
Enter grade for test :
The grade for test is B
Enter grade for test :
The grade for test is C
Enter grade for test :
The grade for test is D
Enter grade for test :
The grade for test is F
The average of the test scores is:
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
