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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:10, breanastone14
3. (5 points) describe what would be printed by the code below or what error would occur. const char* cstr = "0123456"; const char* ptr = & cstr[4]; cout < < ptr[-1] < < ptr < < endl; 1 4. (5 points) theseus has been trapped in a maze with a minotaur, which is trying to capture him. each round, theseus and the minotaur move through the maze; theseus towards the exit, and the minotaur towards theseus. theseus can move in any of the four cardinal directions, or he can wait for a round to see how the minotaur moves. write code that creates a data type to represent the possible moves that theseus could make.
Answers: 3
image
Computers and Technology, 22.06.2019 20:00, hannahliebl2000
Need asap write a short paper describing the history and differences between six sigma, waterfall, agile, and scrum models. understanding these models can give you a good idea of how diverse and interesting it development projects can be. describe what the rationale for them is and describe their key features. describe the history behind their development. at least 400 words
Answers: 1
image
Computers and Technology, 23.06.2019 01:30, winstonbendariovvygn
1. which of the following is a search engine? a) mozilla firefox b)internet explorer c)google d)safari 2. which of the following statements is true? a) all search engines will provide the same results when you enter the same query. b) all search engines use the same amount of advertisements. c) some search engines are also browsers. d) search engines often provide different results, even when you enter the same query.
Answers: 2
image
Computers and Technology, 24.06.2019 06:30, meganwintergirl
Ineed to know the anwser to all these questions
Answers: 2
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 in other subjects:

Konu
World Languages, 24.08.2019 09:30
Konu
Biology, 24.08.2019 09:30
Konu
Mathematics, 24.08.2019 09:30