about | help | code help+videos | done | prefs |
Given two integers x and y, return true if x is a factor of y, false otherwise. Recall that 0 is not considered to be a factor of other numbers, but other numbers are a factor of 0. isFactor(2, 8) → true isFactor(2, 7) → false isFactor(0, 4) → 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: 100
Copyright Nick Parlante 2017 - privacy