# java

Write a program that will find the lowest common denominator of two numbers. The user will enter the two denominators, the program will output both the lowest common denominator and the multipliers required for each fraction. For example, if the user is trying to add 1/3 and 1/4, the input would be 3 and 4, the output should be: The lowest common denominator is 12, multiple 1/3 by 4/4 and 1/4 by 3/3 to convert the fractions.

1. 👍 0
2. 👎 0
3. 👁 109
1. The LCM algorithm most suited for computer computations is Euclid's division algorithm, although we have all learned the factoring approach in school.

Which one is more familiar to you?

1. 👍 0
2. 👎 0

## Similar Questions

1. ### java

can anyone help me with this? I'm new to java! Write a program that will find the lowest common denominator of two numbers. The user will enter the two denominators, the program will output both the lowest common denominator and

asked by Anonymous on April 7, 2012
2. ### Math

How do you add this? -5/6 + 1/2 -5/6 + 1/2= 8/6 I know to find the lowest common denominator,which is 6, but the numerator is larger than the denominator which is 8/6. How do I solve? Wouldn't the answer be -1/3? yes, the correct

asked by Stephen on March 2, 2007

(x)/(x-2) - (x+1)/(x) = (8)/(x^2-2x) I keep getting x = 6 can someone show me how you guys are getting x = -10 The lowest commond denominator is x(x-2) x/x *(x)/(x-2) - (x+1)/(x) *(x-2)/(x-2)=(8)/x(x-2) multiplying both sides by

asked by jas20 on March 7, 2007
4. ### programming

Using python write a program that does the following: •Create the logic for a program whose main() method prompts a user for 1000 numbers and stores them in a list. •Pass the array to a method that reverses the order of the

asked by Christina on April 17, 2015
5. ### Programming

I need your help to write a program using visual basic 2010 for the following:- write a program that calculates the average of up to 50 numbers input by the user and stored in an arrey. The program should use a class named

asked by Solomon on May 13, 2011
6. ### computer science

write a program that prompts the user to input three numbers. The program should then output the numbers in nondescending order.

asked by Cathy on October 29, 2010
7. ### computer science

Write a program that prompts the user to input three numbers. The program should then output the numbers in non-descending order

asked by swert on January 17, 2011
8. ### algebra

Solve for x x/6-x/8 equals 1 Do fraction busters Find the least common denominator, which is 24. Change the fractions to where they have the same denominator. Change 1 to equal 24/24, and solve. Did this help? x/6 + x/8 = 1

asked by Tony on April 24, 2007
9. ### MATH!

Finding Common Demoninators in fractions. 1) 2 4 -- - --- x^2-16 x^2+x-12 2) x-3 x+3 ---- + ------ x^2+2x-8 x^2+7x+12 Can ANYONE help me with these. I cant figure out how to get the DEMONINATORS THE SAME!? Use brackets to write

asked by megan on April 1, 2007
10. ### gtuc

1. WRITE A PROGRAM TO CALCULATRE THE AREA OF A RECTANGLE OF LENGTH =5 CM AND BREADTH=8CM. 2. CALCULATE THE PRICE OF AN ITEM COSTING 100 GHANA CEDIS AFTER A DISCOUNT OF 10% IS APPLIED TO IT. 3. WRITE A PROGRAM TO CALCULATE THE

asked by jojo on February 26, 2016

More Similar Questions