# java

posted by .

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.

• java -

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?

## Similar Questions

1. ### 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?

(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 the …
3. ### 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?
4. ### Math

How would I describe a step-by-step procedure for adding two fractions with different denominators?
5. ### algebra

find lowest common denominator with the given denominators, 13/15 - 11/20
6. ### programming

Having troube with java, i am not a regular programmer, if anybody can help me out writting this program: write a program that takes two numbers from the java console representing, respectively, an investment and an interest rate(you …
7. ### Algebra

Lowest common denominator of the following denominators: (5x^3)+25x^2 and 3x+15
8. ### Algebra LCD

Lowest common denominator of denominators (3x^4)-27x^2 and (x^3)-3x^2
9. ### 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 the
10. ### programming

Write a program which allows user to enter 10 student names and scores for Java programming 1 and Java programming 2. Allow user to choose which course they want to enter the record for. Use the loop to ask input from user. The program …

More Similar Questions