好久没写程序了 帮忙看看哪错了
#include"stdio.h"#include"math.h"
main()
{
int m,n,i,h=0,leap=1;
printf("\n");
for(m=101;m<=200;m++)
{
n=sqrt(m+1);
for(i=2;i<=n;i++)
{
if(m%n==0)
{leap=0;break;}
if(leap){printf("%_4d",m);
h++;
if(h%10==0)
{
printf("\n");
}
}
leap=1;
}
printf("\nthe total is %d",h);
}