Exercises
Exercise 1
In the main method, prompt the user to enter an integer grade between 0 and 100.
Pass this grade to a method named conversion
The conversion method will use the following logic to convert the integer grade to a letter
grade, A, B, C, D, or F according to the following logic.
If the grade is greater than or equal to 90 and less than or equal to 100 then letter grade = A
If the grade is greater than or equal to 80 and less than 90 then letter grade = B
If the grade is greater than or equal to 70 and less than 80 then letter grade = C
If the grade is greater than or equal to 60 and less than 70 then letter grade = D
If the grade is less than 60 then letter grade = F
When the letter grade is returned to the main method, the main method will pass it to a method named
printIt. The method named printIt will print the numeric grade and its equivalent letter grade