結果 : lcm of two numbers in java using for loop