Click on New Class. Use QuizGrading as the name of your class. Write a program that takes as input from the keyboard an integer of type int. This integer is the score. A letter grade is assigned to the score, according to the following table. You must create a constructor that associates the score integer with a letter grade. Use the Dog, Student, and Cellphone classes as your examples. Use the following tables to determine what integers will equal what grades.
Include in your program a statement to print the letter grade on the screen, together with an appropriate description. Resource: Using "If" Statements |