subject

Write a program to read a list of exam scores given as integer percentages in the range o to 100. display the total number of grades and the number of grades in each letter-grade category as follows: 90 to 100 is an a , 80 to 89 is a b, 70 to 79 is a c, 60 to 69 is a d, and o to 59 is an f. use a negative score as a sentinel value to indicate the end of the input. (the negative value is used only to end the loop, so do not use it in the calculations.) for example, if the input is
98 87 86 85 85 78 72 70 66 63 50 -1

the output would be
total number of grades =14number of a's =1»number of b's= 4number of c's= 6number of d's
2number of f's =1

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:40
Assume that there is a 4% rate of disk drive failure in a year. a. if all your computer data is stored on a hard disk drive with a copy stored on a second hard disk drive, what is the probability that during a year, you can avoid catastrophe with at least one working drive? b. if copies of all your computer data are stored on three independent hard disk drives, what is the probability that during a year, you can avoid catastrophe with at least one working drive?
Answers: 1
question
Computers and Technology, 22.06.2019 23:00
Is an attack that relies on guessing the isns of tcp packets
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
The next button in the review section shows the next available comment. next slide with no comment. previous comment. edited comment.
Answers: 1
question
Computers and Technology, 23.06.2019 05:00
Acompany is inviting design for its new corporate logo from its users. this is an example of ? a. crowdfunding b. crowdvoting c. crowdsourced design d. crowdtracking
Answers: 3
You know the right answer?
Write a program to read a list of exam scores given as integer percentages in the range o to 100. di...
Questions
Questions on the website: 13722363