about | help | code help+videos | done | prefs |
calcLetterGrade
Given a number, return its letter grade. A is >= 90B is >= 80 and <90C is >= 75 and <80D is >= 65 and <75F is <65 calcLetterGrade(98) → "A" calcLetterGrade(87) → "B" calcLetterGrade(77) → "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