Question: Write a program in Java that asks the user to enter four weighted assessment grades, calculate the average, then display the average with the message:
Write a program in Java that asks the user to enter four weighted assessment grades, calculate the average, then display the average with the message: "Student Pass" if the average is greater than or equal 60 or the message "Student Fail" otherwise. The details of the assessments and weights are as follow:
- Homeworks: 20%
- Labs: 15%
- Midterm: 25%
- Final: 40%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
