about | help | code help+videos | done | prefs |
getKarmaLevel
If your Karma point is from -1000 to -750 return the string "Very Evil", from -749 to -250 return "Evil", from -249 to +249 return "Neutral", from +250 to +749 return "Good", from +750 to +1000 return "Very Good" getKarmaLevel(-938) → "Very Evil" getKarmaLevel(0) → "Neutral" getKarmaLevel(-238) → "Neutral" ...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