Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 BStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started