subject

Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Write the following functions as part of the program:

calc_average: This function should accept five test scores as arguments and return the average of the scores.

determine_grade: This function should accept a test score as an argument and return a letter grade for the score based on the following grading scale.

Score Letter grade
90-100 A
80-89 B
70-79 C
60-69 D
Below 60 F

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:20
Number of megabytes of ram in a computer. qualitative or quantitative? because
Answers: 3
question
Computers and Technology, 22.06.2019 20:00
The blank button automatically displays next to the data when you select a range of numeric data which is an available option for creating a chart
Answers: 3
question
Computers and Technology, 23.06.2019 03:10
Acomputer has a two-level cache. suppose that 60% of the memory references hit on the first level cache, 35% hit on the second level, and 5% miss. the access times are 5 nsec, 15 nsec, and 60 nsec, respectively, where the times for the level 2 cache and memory start counting at the moment it is known that they are needed (e.g., a level 2 cache access does not even start until the level 1 cache miss occurs). what is the average access time?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
You know the right answer?
Write a program that asks the user to enter five test scores. The program should display a letter gr...
Questions
question
Mathematics, 03.03.2021 18:50
question
Mathematics, 03.03.2021 18:50
question
English, 03.03.2021 18:50
question
Mathematics, 03.03.2021 18:50