Design an algorithm to find the LCM of two numbers
Answers
Answered by
1
Much more effective way to get the least common multiple of two numbers is to multiply them and divide the result by their greatest common divisor. The greatest common divisor may be computed by the Euclidean algorithm, which is very fast, because it does not require factorization of the given numbers.
Answered by
1
Answer:
.........
Explanation:
see on the attachment
Attachments:
Similar questions