Question: Write a program that generates and prints out 5 random integers between 50 and 100. Write a function that will return the average of these

Write a program that generates and prints out 5 random integers between 50 and 100. Write a function that will return the average of these numbers. Write another function that will return a letter grade for a given numeric grade (Less than 60 is an F, 60 to less than 70 is a D, 70 to less than 80 is a C, 80 to less than 90 is a B, 90 or more is an A.) Print out each of the 5 integers, their average, and all 6 corresponding letter grades.

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 Databases Questions!