Question: Please show full code and show that it works in workspace 1. Write a function called checkFactor that takes in two numbers and checks if
1. Write a function called checkFactor that takes in two numbers and checks if they are divisible, that is, if the first is divisible by the second. You may assume that both numbers are positive. You function should return a logical value, true or false. For example checkFactor (25,6) should return false checkFactor (9,3) should return true checkFactor (3,9) should return false Hint: mod(m,n) is the remainder of mn
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
