Question: Write an Assembly program that will ask the user to enter 2 numbers from keyboard (each number is 3 digit decimal number between 0 and
Write an Assembly program that will ask the user to enter 2 numbers from keyboard (each number is 3 digit decimal number between 0 and 250). Then it will find and print in the screen:
- The Greatest Common Divisor (GCD)
- The Least Common Multiple (LCM)
- Show the steps of adding 2 fractions and show the result in the simplest form.
You should write a small report to explain your algorithm and steps ( 3 to 4 pages).
Example:
Please enter 1st number: 100
Please enter 2nd number: 150
GCD = 50
LCM = 300
Then you should show example of fractions addition.
If you enter any invalid number you should print error message and ask the user to enter the number again.
Note: i need different solution from chegg
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
