Question: Question: Today you are commissioned to write a Java program that will prompt for and read 3 double values as grades of three quizzes, 91,
Question: Today you are commissioned to write a Java program that will prompt for and read 3 double values as grades of three quizzes, 91, 92, and g3, that are entered by the user and provide suggestions based on the grades. Be sure to use the same format and wording as in the sample runs in the table below. 1. If all the grades are smaller than 50, display "You may fail the course.". If at least one grade is greater or equal to 50, display "You will not fail the course." 2. If all the grades are the same, display"Same grade!" 3. If the grades are in increasing order (n1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
