Question: java language Implement the class StudentGrade that generates a random number between 50 and 100 for a student grade and determines the letter grade. Student

 java language Implement the class "StudentGrade" that generates a random number

java language

Implement the class "StudentGrade" that generates a random number between 50 and 100 for a student grade and determines the letter grade. Student grade is determined based on the following criteria: 90-100 80-89 70-79 60-69 Less than 60 You can use the following statement to generate a random number between 50 and 100 int grade - (int)(Math.random() 50) + 50; Use a loop to to generate 5 random grades and output the letter grade for each. The output of your program should be similar to: Student grade is 73 which is C. Student grade is 52 which is F. Student grade is 90 which is A. Student grade is 88 which is B. Student grade is 82 which is B

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 Databases Questions!