subject

Write a letter Grade function that gets an average score as an argument and returns the letter grade. If the average score is 90 or more, return an A. 80 to 89 – return a B. 70 to 79 – return a C. 60 to 69 – return a D. If the average score is less than 60, return grade F. Write the main function to ask the user his/her name and the number of test scores he/she has. Then ask the user to input those test scores (using a loop only). Then find the average test score. Then call the letter Grade function to get the letter grade. Display the average score and the person’s letter grade.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:40
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 2
question
Computers and Technology, 23.06.2019 02:00
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
question
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
You know the right answer?
Write a letter Grade function that gets an average score as an argument and returns the letter grade...
Questions
question
Mathematics, 11.06.2021 19:10
question
Mathematics, 11.06.2021 19:10
question
Mathematics, 11.06.2021 19:10
Questions on the website: 13722361