about | help | code help+videos | done | prefs |
Write a method that returns a statement about dividing the 'numerator' by the 'denominator' as shown in the test data. As preconditions, you may assume that both parameters are positive. quiz2023_09_12_SLHL_divideIt(42, 41) → "When you divide 42 by 41 you get 1 with remainder 1" quiz2023_09_12_SLHL_divideIt(42, 40) → "When you divide 42 by 40 you get 1 with remainder 2" quiz2023_09_12_SLHL_divideIt(7, 2) → "When you divide 7 by 2 you get 3 with remainder 1" ...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: 230
Copyright Nick Parlante 2017 - privacy