about | help | code help+videos | done | prefs |
At the Jedi academy there are only three letter grades. Students can earn an "A", "B", or "F". An "A" is a 90 or above. A "B" is an 80 to 90 (not including 90). An "F" is anything below an 80. Write a method that returns the letter grade of the given percent grade. gradingPercentToLetter(73) → "F" gradingPercentToLetter(80) → "B" gradingPercentToLetter(90) → "A" ...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: 230
Copyright Nick Parlante 2017 - privacy