Question: Create a program that will ask for two numbers from the user. Check if the smaller number is a factor of the greater number. Assume

Create a program that will ask for two numbers from the user. Check if the smaller number is a factor of the greater number.
Assume that the user will input the bigger number first.
example: 8 and 4->:: 4 is a factor of 8
9 and 3->:: 3 is a factor of 9
10 and 7->:: 7 is not a factor of 10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!