Java Program – to find the LCM of two numbers.

Output: