about | help | code help+videos | done | prefs |
APCS Logic 5, Problem 5. Given three ints, a b c, return true if two or more of them have the same rightmost digit. The ints are non-negative. Note: the % "mod" operator computes the remainder, e.g. 17 % 10 is 7. L55_lastDigit(23, 19, 13) → true L55_lastDigit(23, 19, 12) → false L55_lastDigit(23, 19, 3) → true ...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: 200
Copyright Nick Parlante 2017 - privacy