Computer Science, asked by abhinavchandel3889, 3 months ago

write a program to input two numbers and find their LCM

Answers

Answered by anonymous1510
0
Class abc(skandh)
Akand(akal)
Answered by Anonymous
2

Answer:

Explanation:

Logic to find LCM of two numbers :

¶ Input two numbers from user. Store them in some variable say num1 and num2 .

¶ Find maximum between two numbers. Store the result in some variable, say max .

¶ If max is exactly divisible by both numbers.

¶ If max is not divisible by both numbers.

¶ Repeat steps 2 to 3 step till LCM is found.

Thank me.

Please mark me as Brainliest!!!

Similar questions