about | help | code help+videos | done | prefs |
Yoda is headmaster of the Jedi Academy. He needs a method that returns the GPA of the given letter grade. For example, an A is a 4, a B is a 3, etc. Any letter after D counts as 0. You may assume that only capitol letters will be passed into the input parameter. yodaGradePoint("A") → 4 yodaGradePoint("B") → 3 yodaGradePoint("C") → 2 ...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: 220
Copyright Nick Parlante 2017 - privacy