about | help | code help+videos | done | prefs |
Write a method that returns 'true' if 'num' is both a multiple of 'mult1' and also of 'mult2'; return false otherwise. As preconditions you may assume that all parameters are integers greater than 1, and that 'num' is greater than both 'mult1' and 'mult2'. test2022_11_17_APP1SLHL_multipleOfBoth(15, 5, 3) → true test2022_11_17_APP1SLHL_multipleOfBoth(1509, 503, 3) → true test2022_11_17_APP1SLHL_multipleOfBoth(19, 2, 5) → false ...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: 220
Copyright Nick Parlante 2017 - privacy