about | help | code help+videos | done | prefs |
Write a method that returns the "ones place" of the integer parameter. You may not use any arrays or strings. Note that the integer parameter can be any number, including negatives and zero. nov9_2015_APSLHL_endsWithDigit(53) → 3 nov9_2015_APSLHL_endsWithDigit(67) → 7 nov9_2015_APSLHL_endsWithDigit(-23) → 3 ...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: 290
Copyright Nick Parlante 2017 - privacy