Computer Science, asked by ankit5873, 2 months ago

The LCM of two numbers can be found as follows:

If the larger number is also a multiple of the smaller number, it is the LCM of the two numbers,

otherwise the next multiple of the larger number can be found and it can be checked, if it is a multiple of

the smaller number. This process can be continued till the LCM is found.

Write a program to find the LCM of two numbers.​

Answers

Answered by chintamanbhamre000
0

Answer:

There are various ways to find the least common multiple (LCM) of two numbers: Writing down the multiples and finding the smallest common multiple. Calculating LCM from the prime factors of the given numbers. Division Method or Ladder Method.

Similar questions