java
posted by tj .
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.

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?
Respond to this Question
Similar Questions

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? 
math,correction please..
(x)/(x2)  (x+1)/(x) = (8)/(x^22x) I keep getting x = 6 can someone show me how you guys are getting x = 10 The lowest commond denominator is x(x2) x/x *(x)/(x2)  (x+1)/(x) *(x2)/(x2)=(8)/x(x2) multiplying both sides by the … 
algebra
Solve for x x/6x/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? 
Math
How would I describe a stepbystep procedure for adding two fractions with different denominators? 
algebra
find lowest common denominator with the given denominators, 13/15  11/20 
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 … 
Algebra
Lowest common denominator of the following denominators: (5x^3)+25x^2 and 3x+15 
Algebra LCD
Lowest common denominator of denominators (3x^4)27x^2 and (x^3)3x^2 
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 
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 …