本人菜鸟,求指点
输入两个整数m和n,求两个数的最小公倍数,并输出当m=284,n=96时的结果 ~~~~~~~~~~~~~~~~~~~~谢谢哈
main()
{
int a,b,c;
printf(“The two numbers are:”);
scanf(“%d%d\n”,&a,&b);
if(a>=b)
c=a;
else
c=b;
for(;c<=a*b;c++)
{
If((c%a==0)&&(c%b==0))
break;}
printf(“The number is %d\n”,c);
}