Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions