Question: Java code pls - Repeatedly read in grades from the keyboard until -1 is entered - If you had me for IST 261, don't use

Java code pls

Java code pls - Repeatedly read in grades from the keyboard until

"-1" is entered - If you had me for IST 261, don't

use any of the "Helper" or "Validation" methods or classes. For this

- Repeatedly read in grades from the keyboard until "-1" is entered - If you had me for IST 261, don't use any of the "Helper" or "Validation" methods or classes. For this assignment, I want to see straight-forward code. - You can assume the user is entering numerical data - A grade must be a between 0 and 100 , inclusive. So, 0 is a valid grade. - Decimal grades are allowed - Grades like "71.0" should be displayed as "71". - When -1 (negative one) is entered, then the user has finished inputting grades - This means users can enter as many grades as they want - Output the count of valid grades, and count of invalid grades - Output the highest, lowest, and average grade - It's fine if you have repeating decimals for the average - e.g., showing 33.3333333333 is acceptable - Output the list of valid grades - Output the list of invalid grades - Every valid grade you output must have the corresponding letter grade in parentheses next to it - e.g., instead of 92 , you will display 92 (A-) - e.g., instead of 4, you will display 4 ( F ) - Remember, there is no restriction on how many grades can be entered. - Indent your code properly!!! - Points will be deducted if you don't - Output - When given the input below, your output must match it exactly (except for your info) When given the input below, your output must match it exac (except for your info) Name: Jo student Email: jxs5123@psu.edu Course: IST 311 Assignment: IA01 Enter a grade: 71 Enter a grade: 85.2 Enter a grade: -2 Error. Grade must be between 0 and 100 ; or 1 to finish Enter a grade: - 12.23 Error. Grade must be between 0 and 100 ; or 1 to finish Enter a grade: 99.6 Enter a grade: 73 Enter a grade: 101 Error. Grade must be between 0 and 100 ; or 1 to finish Enter a grade: -1 You entered 4 valid grades. You entered 3 invalid grades. Highest grade: 99.6 (A) Lowest grade: 71 (C) Average: 82.2 (B-) Here are the 4 valid grades: 71 (C) 85.2 (B) 99.6 (A) 73 (C) Here are the 3 invalid grades: 2 12.23 101

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!