about | help | code help+videos | done | prefs |
getGrade
Given a numeric grade, convert it to the corresponding letter grade, where grades in the 90s or higher earn an A, 80s earn a B, 70s as C, 60s a D, and all other grades an F. getGrade(99) → "A" getGrade(100) → "A" getGrade(75) → "C" ...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