Question: Write a Java program (name it Practice_3_2) that generates a random number between 0 and 100 (representing a grade) (see program Guessing. j ava above
Write a Java program (name it Practice_3_2) that generates a random number between 0 and 100 (representing a grade) (see program Guessing. j ava above or section 3.7 on how to generate random numbers). The program then, on separate lines, prints out the generated grade followed by the corresponding letter grade (A, B, C, D, F) using the standard scale below. Label your output properly and use escape characters to lineup the outputs after the labels.
A = 90 - 100
B = 80 - 89
C = 70 - 79
D = 60 - 69
F = 00 - 59
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
