create a simple LMC program to determine if a number evenly divides another one: a) Input 2
Question:
create a simple LMC program to determine if a number evenly divides another one:
a) Input 2 numbers
b) If they do not evenly divide, then the program outputs 0 and asks to input two new numbers, and
c) If they evenly divide, then the program outputs the quotient and stops execution.
A flowchart showing the logic flow of your program. ( well illustrated and explained)
The LMC program to resolve the problem
Description of at least 6 different test scenarios (for example first number bigger than the second, second number bigger than the first, negative number, etc.) that you used to run the simulator and the results obtained explaining why your program logic is giving those results. Kindly use peter higginson LMC simulator to run the correct program and tesy