运行有问题 帮忙解决一下
#include <stdio.h>int main (void)
{
int a ,i ,b ;
fprintf(stdout,"请输入一个数值:\n");
fscanf(stdin,"%d",&a);
fprintf(stdout,"其约数为:\n");
for (i=1;i<=a;i++)
{
for (b=1;b<=a;b++)
{
if (a%(i*b)==0)
{
fprintf(stdout,"%d ",b);
}
}
}
return 0;
}