Question: 2 . Write a complete program that prompts the user for a test score and prints out the letter score following the java if -

2. Write a complete program that prompts the user for a test score and prints out the letter score following the java if-else chain below.
```
if (grade >100)|| grade 0)
}
System.out, println("Grade must be between 0..100");
else if (grade >=90)
l
}
System.out.println ("Grade is N*);
else if (grade >=80)
l
}
else if (grade >=70)
l
}
Syetem.out.println ("Grade is C");
else if (grade >=60)
l
}
elae {
System.out.println ("Grade is D");
System.out.println ("Grade is B");
\
}
9yatem.out.println ("Gxade is F*);
```
Output should resemble:
```
Mars Messages
Run IO
-- program is finished running --
Enter a score grade between 0-100**** user input : 73
Clear
the grade is C
-- progran 1s rinlshed running --
```
2 . Write a complete program that prompts the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!