0
How to write a program to find the smallest common multiple? What do I do?
2 ответов
+ 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