Computer Science, asked by reportwhiteclouds, 6 months ago

4. Write a program to input two numbers and display their Least Common Multiple.​

Answers

Answered by soumyabratamukherjee
0

Answer:

class A

{

public static void main(int a, int b)

{

for(int i=a;I>=1;i--)

{

System.out.println(a×b/I);

break;

}

}

}

Similar questions