Write a recursive function that finds all the factors of a given number. A factor is a number less than the given number that divides the number with remainder zero. The program should use a function to test if the a number is divisible by another number. Test your function with at least 10 numbers and tabulate the results in a program.
Write a recursive function that finds all the factors of a given number. A factor is a number less than the given number that divides the number with remainder zero. The program should use a function to test if the a number is divisible by another number. Test your function with at least 10 numbers and tabulate the results in a program.
Related questions
Question
in c++
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images