帮我看一下问题出在哪里
求最小公倍数#include<stdio.h>
int main()
{
int a,b,i;
printf("%d,%d\n",a,b);
scanf("%d,%d",&a,&b);
if (a>b)
{
printf("%d,%d\n",a,b);
scanf("%d,%d",&a,&b);
for (i=2;i<=b;i++)
if(a%b!=i)
{ printf("a*b=%d\n",a*b);
}
else
{printf("(a/i)*(b/i)=%d\n",(a/i)*(b/i));}
}
else
{printf("%d,%d\n",a,b);
scanf("%d,%d",&a,&b);
for(i=2;i<=a;i++)
if(a%b!=i)
{ printf("a*b=%d\n",a*b);
}
else
{printf("(a/i)*(b/i)=%d\n",(a/i)*(b/i));}
}
}