Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help in Java. Step 1 (2 pts). Read from input student status (String), homework points, quiz points, midterm exam score, and final exam score
Please help in Java.
Step 1 (2 pts). Read from input student status (String), homework points, quiz points, midterm exam score, and final exam score (double). Valid student status includes undergrad (UG), grad (G), and distance leaner (DL). Calculate each category average using maximum points for homework (800), quizzes (400), midterm exam (150), and final exam (200). Output an error message if student status is not one of the three options. Otherwise, output category averages as a percentage using System. out.printf("Homework: \%.1f\%\%", homework). Submit for grading to confirm two tests pass. Step 2 (2 pts). Set any average to 100% if average is above 100%. Submit for grading to confirm three tests pass. Ex: If the input is: UG700.0300.0200.0205.0 The output is: Step 3 (2 pts). Calculate the course average based on student status using the table below. Output the course average. Submit for grading to confirm five tests pass. Step 4 (4 pts). Identify the course letter grade based on the course average using the table below. Output the course letter grade. Submit for grading to confirm all tests passStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started