1. Engineering
  2. Computer Science
  3. java...

Question: java...

Question details
Java
1:00 Note @13 Storing and manipulating a database of grades takes a lot of work. However, computers excel at the tedious computations necessary to characterize simple lists of numbers. If the user selects option 2, your program should prompt for a list of integer grades (0 - 100, inclusive). When the list is entered print out the following statistics: total grades, the breakdown of grades by letter (both count and percentage), the highest and lowest grades in the list, and the class average Example #1 Please enter a list of grades (0-100): 55 65 75 85 95-1 Total number of grades5 Number of As-1 (20%) Number of Bs 1 (20%) Number of Cs-1 (20%) Number of Ds 1 (20%) Number of Fs-1 (20%) 00o Updated Just Now
1:00 Note @13 Note that the list is completed when a grade is entered that is out of range, (like -1) e If the list is empty, print only the total, and skip the other lines of output. This avoids meaningless highs and lows, or division by zero when calculating the average or the precentages Letter grade breakdowns follow the scheme: 90% and above is an AV, 8096 and above is a B, 70% and above is a C, 60% and above is a D. Below 60% is an F ions for this assignment should be performed with integer precision; please do not use float or double type variables, or you will get different answers from ours. e It is not necessary to store the list of grades to complete this assignment. Each of the statistics required can be calculated simply by examining the next grade in the sequence and updating the relevant counts and totals. For those of you with more advanced experience, it would be needlessly complex to store al of the grades in an array or some other data strıucture Updated Just Now
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution