about | help | code help+videos | done | prefs |
Write a method that returns the letter grade that corresponds to a given numerical grade. For this example, we will assume there are no pluses or minuses in letter grades. Thus, the system we will use in this example is as follows:
getLetterGrade(98.2) → "A" getLetterGrade(96.9) → "A" getLetterGrade(47.0) → "F" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy