0
How to write a program to find the smallest common multiple? What do I do?
2 Answers
+ 19
â basic way it to do prime factorisation of Elements available , and then forming LCM as product of those primes factors raised to highest power that appear in either factorization of Elements taken
â see this site also for examples : http://www.math.com/school/subject1/lessons/S1U3L3DP.html
â After that you can visit this post also : https://www.sololearn.com/Discuss/1718302/?ref=app
+ 4
Num1 Ă Num2 = LCM of both numbers Ă hcf of both numbers.
https://code.sololearn.com/cDf00F8840i0/?ref=app