# include <stdio,h>
void main ()
{int m,k,i,n=0;
do
{
m=101;m=m+2;k=sqrt(m);
do
{
i=0;i++;if(m%i==0) break;
if (i>=k+i)
{printf ("%d",m);n=n+1;
}
if (n%10==0)
printf ("\n");
}
while (i<=k);
}
while (m<=200);
}
没有任何语法错误了
[此贴子已经被作者于2007-9-26 23:33:18编辑过]