Question: The Program Complete programming exercise 6 - 7 on pages 3 2 9 ( 5 th edition ) of the text book. 7 . Test

The Program
Complete programming exercise 6-7 on pages 329(5th edition) of the text book.
7. Test Average and Grade
Write a program in pseudocode and python that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Design the following functions in the program:
- calcAverage-This function should accept five test scores as arguments and return the average of the scores.
- determineGrade-This 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:
Other Requirements
- Round the average to one digit to the right of the decimal point. This should be done in the main () procedure. Screenshot
Here's an example of what your program should look like:
Notes and Comments:
- Module names in this class should be all lowercase with underscores between the words, not the author's CamelCase.
- The function determine_grade ():
- Should only take one argument, and thus only one parameter. That argument should be a single numeric test score.
- Should return the single letter grade that corresponds to the numeric test score that was passed in as an argument.
- The function calc_average ():
- Should take five arguments, and thus five parameters. There should be one argument for each of the five test scores.
- Should return the average all five test scores.
- Do not put your print statements inside of your function. Instead your functions should return the calculated value to the calling procedure (probably main ()), and the calling procedure will print the results. This is the opposite of what we did in chapter 3.
All of your assignments must follow the coding standards \(\rho^{\circ}\) we discussed in class.
Be sure to turn in your assignment via the Blackboard site by the due date/time (see below) for full credit. ```
** James Shoe **
Enter test score #1:
88.6
Enter test score #2:
92.4
Enter test score #3:
55
Enter test score #4:
77.1
Enter test score #5:
61.9
Results:
Test #1: B
Test #2: A
Test #3: F
Test #4: C
Test #5: D
Average: 75.0
```
The Program Complete programming exercise 6 - 7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!