Write a program that finds all the factors of a given number. A factor is a number less than or equal to the given number that divides the number with remainder zero. Note that any number has at least two factors: 1 and itself. Test your function with the factors of a few numbers and tabulate the results in a program. Write a recursive (helper) function that finds the divisor of two numbers. Then use a no recursive function to call it.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here