← all problems

letterGrade 🌶️🌶️

Write a method that takes one int parameter, score, and returns a letter grade as a String, using these cutoffs: 90 or above is "A", 80-89 is "B", 70-79 is "C", 60-69 is "D", and anything below 60 is "F". You can assume score is always between 0 and 100.