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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started