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?

Sure! Here's a step-by-step guide on how to write a program that finds the lowest common denominator of two numbers:

Step 1: Prompt the user for the two denominators:
- Display a message asking the user to enter the first denominator.
- Store the user input in a variable, let's call it "denominator1".
- Display a message asking the user to enter the second denominator.
- Store the user input in another variable, let's call it "denominator2".

Step 2: Calculate the least common multiple (LCM) of the two denominators:
- Define a function to calculate the LCM.
- Inside the function, start a loop and set a counter variable, let's call it "lcm", to the larger of the two denominators.
- Use the modulus operator (%) to check if "lcm" is divisible by both "denominator1" and "denominator2".
- If it is, break out of the loop; otherwise, increment "lcm" by 1 and continue the loop.
- Return the value of "lcm" as the LCM of the two denominators.

Step 3: Calculate the multipliers required for each fraction:
- Calculate the first multiplier by dividing the LCM by "denominator1".
- Calculate the second multiplier by dividing the LCM by "denominator2".

Step 4: Display the results to the user:
- Display a message stating the lowest common denominator and the multipliers required for each fraction.
- Use string concatenation or string formatting to include the values of the LCM, first multiplier, and second multiplier in the message.

Step 5: Execute the program:
- Call the function to calculate the LCM and store the result in a variable, let's call it "lowest_common_denominator".
- Calculate the multipliers by dividing the LCM by each denominator and store them in separate variables, let's call them "multiplier1" and "multiplier2".
- Display the results using the message from step 4, replacing the placeholders with the actual values.

And that's it! By following these steps, you can write a program that finds the lowest common denominator of two numbers and provides the multipliers required for each fraction.

To find the lowest common denominator (LCD) of two numbers, you need to find the least common multiple (LCM) of those numbers. The LCM is the smallest multiple that both numbers share. Here's how you can write a program in Python to find the LCD and the required multipliers:

```python
def find_lcd(num1, num2):
lcm = 0
multiplier1, multiplier2 = 0, 0

# Finding LCM
if num1 > num2:
maximum = num1
else:
maximum = num2

while True:
if maximum % num1 == 0 and maximum % num2 == 0:
lcm = maximum
break
maximum += 1

# Finding multipliers
multiplier1 = lcm // num1
multiplier2 = lcm // num2

return lcm, multiplier1, multiplier2

# Getting user input
denominator1 = int(input("Enter the first denominator: "))
denominator2 = int(input("Enter the second denominator: "))

# Calling the function and printing the result
LCD, multiplier1, multiplier2 = find_lcd(denominator1, denominator2)
print("The lowest common denominator is", LCD)
print("Multiply 1/{0} by {1}/{1} and 1/{2} by {3}/{3} to convert the fractions.".format(denominator1, multiplier1, denominator2, multiplier2))
```

Here's how the program works:
1. The `find_lcd` function takes two input numbers, `num1` and `num2`, as parameters.
2. It initializes the variables `lcm`, `multiplier1`, and `multiplier2` to 0.
3. It then finds the maximum of the two numbers to start the loop.
4. The loop increments the maximum value until it finds a number that is both divisible by `num1` and `num2`. This number is the LCM and is stored in the variable `lcm`.
5. After finding the LCM, it calculates the multipliers by dividing the LCM by `num1` and `num2`.
6. The function returns the LCM, `multiplier1`, and `multiplier2`.
7. The main program prompts the user to enter the two denominators and stores them in `denominator1` and `denominator2`, respectively.
8. It then calls the `find_lcd` function with the input denominators and assigns the returned values to `LCD`, `multiplier1`, and `multiplier2`.
9. Finally, it prints out the LCD and the instructions on how to convert the fractions.

You can run the program and test it with different inputs to find the lowest common denominator and the required multipliers for any two numbers.