The function gcd(a,b) will return the greatest common divisor of a and b, while lcm(a,b) will return the least common multiple of a and b. Write some code to prove that lcm(x,y) $\times$ gcd(x,y) = x $\times$ y.← Back to challenges | Lessons
Type your code here:
See your results here:
Share your code
Show a friend, family member, or teacher what you've done!
Here is a share link to your code: