about | help | code help+videos | done | prefs |
apcsaPrimitivesRemainderSame
Given an int input num, return true if the remainder after dividing by the two numbers a and b is the same. Use the % (remainder) operator to do this. apcsaPrimitivesRemainderSame(1, 3, 9) → true apcsaPrimitivesRemainderSame(5, 3, 4) → false apcsaPrimitivesRemainderSame(13, 3, 4) → 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: 120 Post-solution available
Copyright Nick Parlante 2017 - privacy