write an algorithm to find the LCM of two numbers
Answers
Answered by
0
1 Answer
Start.
Input num1.
Input num2.
Loop: counter i in range 2 to minimum of num1 and num2.
If num1%i==0; Go to 6, else go to 8.
If num2%i==0; Go to 7, else go to 8.
Print i is LCM.
Stop.
Similar questions
English,
24 days ago
Accountancy,
24 days ago
Physics,
24 days ago
Social Sciences,
1 month ago
Math,
9 months ago