Question: Java please 9:55 Note @13 simple lists of numbers. If the user selects option 2, your program should prompt for a list of integer grades

Java please  Java please 9:55 Note @13 simple lists of numbers. If the
user selects option 2, your program should prompt for a list of

9:55 Note @13 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 grades 5 Number of A's 1 (20%) Number of B's-1 (20%) Number of C's (20%) Number of D's-1 (20%) Number of F's (20%) Highest grade 95 Lowest grade 55 Class average 75 Updated Just Now 10:04 1 Note @13 Notes Note that the list is completed when a grade is entered that is out of range, (like -1) . 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 A', 80% and above is a 'B", 70% and above is a C', 60% and above is a D. Below 60% is an 'F'. All calculations 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. 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 all

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!