DWQA Ask QuestionCategory: JavaJava_Q: Write a Java program that determines a student’s grade.
admin Staff asked 7 years ago

Write a Java program that determines a student’s grade.
The program will read three types of scores(quiz, mid-term, and final scores) and determine the grade based on the following rules:
-if the average score >=90% =>grade=A
-if the average score >= 70% and <90% => grade=B
-if the average score>=50% and <70% =>grade=C
-if the average score<50% =>grade=F
See the example output below:

Quiz score: 80

Mid-term score: 68

Final score: 90

Your grade is B.