about | help | code help+videos | done | prefs |
Write a method that returns true if 'checkFactor' is a factor of 'origNum'. For x to be a factor of y, there must exist a positive integer n, such that x*n=y. Note that both input parameters will be positive. ppp1IsFactor(101, 101) → true ppp1IsFactor(44, 2) → true ppp1IsFactor(44, 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