The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 399 Weeks Ago, 1 Day Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Write a program to read a list of exam scores given as integer percentages
in the range 0 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, 60to 69 is a D, and 0 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.)
display the following statistics:
Total number of scores
Total number of each letter grade
Percentage of total for each letter grade
Range of scores: lowest and highest
Average score
As before, enter a negative score as a sentinel value to end the data input
and display the statistics.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll