Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started