Question: Java Pass Fail . Sample Input/Output Sample 1 Sample input 1: 73 Sample output 1: A Sample 2 Sample input 2: 63 Sample output 2:
Pass Fail . Sample Input/Output Sample 1 Sample input 1: 73 Sample output 1: A Sample 2 Sample input 2: 63 Sample output 2: F Sample 3 Sample input 3: 70 Sample output 3: A In a pass/fail course, a student passes the course if the student's grade is greater than or equal to 70 and fails if the grade is lower. Write a JAVA program that prompts the user to enter an integer value between 0 and 100, inclusive that represents a grade . As output the program is to display the message "A" If the grade is a passing grade or "F" if the grade is a failing grade, based on the requirements presented in the first sentence
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
