about | help | code help+videos | done | prefs |
Given two numbers, find out whether the larger of the two numbers is divisible by the smaller of the two numbers (meaning that the remainder, after dividing the larger number by the smaller number, is zero). Either of the two numbers could be larger. Precondition: both numbers will be positive and the two numbers will be different. apcsaPrimitivesLargerBySmaller(5, 3) → false apcsaPrimitivesLargerBySmaller(15, 3) → true apcsaPrimitivesLargerBySmaller(3, 15) → 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: 100
Copyright Nick Parlante 2017 - privacy