Problem1360--习题7-1.2 求最小公倍数

1360: 习题7-1.2 求最小公倍数

Time Limit: 1.000 Sec  Memory Limit: 12 MB
Submit: 139  Solved: 108
[Submit] [Status] [Web Board] [Creator:]

Description

写一个函数求两个整数的最小公倍数,通过主函数调用这个函数,并输出结果。
两个整数由键盘输入。

Input

以空格分隔的两个整数

Output

输入两数的最小公倍数,单独占一行。

Sample Input

8 12

Sample Output

24

Source/Category


[Submit] [Status]