Question: I need help with java code, running Amazon Coretta version 2 1 on IntelliJ. - Create an IntelliJ IDEA project named IA 0 1 -

I need help with java code, running Amazon Coretta version 21 on IntelliJ.
-Create an IntelliJ IDEA project named IA01
-Output your information (see Output section below)
-Repeatedly read in grades from the keyboard until "-1" is entered
-Don't use any of the "Helper" or "Validation" methods or classes, only 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)
Numerical Letter
93.0-100 A
90.0-92.9 A-
87.0-89.9 B+
83.0-86.9 B
80.0-82.9 B-
77.0-79.9 C+
70.0-76.9 C
60.0-69.9 D
00.0-59.9 F
Remember, there is no restriction on how many grades can be entered.
Please indent your code properly
Output:
When given the input below, your output must match it exactly
Name: Jo Student
Email: jxs5123@tem.edu
Course: MIS 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 Programming Questions!