Question: 2 . Write a complete program that prompts the user for a test score and prints out the letter score following the java if -
Write a complete program that prompts the user for a test score and prints out the letter score following the java ifelse chain below.
if grade grade
System.out, printlnGrade must be between ;
else if grade
l
System.out.println Grade is N;
else if grade
l
else if grade
l
Syetem.out.println Grade is C;
else if grade
l
elae
System.out.println Grade is D;
System.out.println Grade is B;
yatem.out.println Gxade is F;
Output should resemble:
Mars Messages
Run IO
program is finished running
Enter a score grade between user input :
Clear
the grade is C
progran s rinlshed running
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
