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:

  1. The Greatest Common Divisor (GCD)
  2. The Least Common Multiple (LCM)
  3. 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

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!