Question: Write an algorithm and a C++ program that takes two integers as input. It then outputs how many times the larger number is divisible by
Write an algorithm and a C++ program that takes two integers as input. It then outputs how many times the larger number is divisible by the smaller number. If a remainder exists, the program will output these numbers are not divisible. Repeat the program until the user chooses to exit.
Task 3: Write an algorithm and a C++ program that takes two integers as input. It then outputs how many times the larger number is divisible by the smaller number. If a remainder exists, the program will output these numbers are not divisible. Repeat the program until the user chooses to exit. Sample Output Enter the numbers you would like to divide separated by returns: 10 100 10 goes into 100, 10 times. To continue type 1. To exit type any other character. Enter the numbers you would like to divide separated by returns: 1@ 103 These numbers are not divisible. To continue type 1. To exit type any other character. execution time : 19.596 S Process returned @ (exe) Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
