LCM LoopsOptional Node
In this challenge, see if you can use your knowledge of loops, the
% operator and some math to come up with an algorithm to solve an important math problem.
Given two numbers
b can you return their Least Common Multiple (LCM)? A LCM of
b is the smallest number that is a multiple of both
(Remember you can use
% to check if a number divides evenly into another number.)