Computer Science, asked by sanjanashetty2344, 7 months ago

Design an algorithm to find the LCM of two numbers

Answers

Answered by aviral008
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 harshita2520
1

Answer:

.........

Explanation:

see on the attachment

Attachments:
Similar questions