大神求教!关于CFree问题
帮忙看一下要怎么改,谢啦#include<stdio.h>
#include<math.h>
void main()
{
int i,j,n=0;
for (i=3;i<=100;i+=2)
{
for(j=2;j<=sqrt(i);j++)
{
if(i%j==0)
break;
}
if(j>sqrt(i))
{
printf("%5d",i);
n++;
if(n%5==0)
printf("\n");
}
}
printf("\n");
}
这段在Cfree里报错了,说是
[Error] error: `main' must return `int'
[Warning] warning: no newline at end of file
要怎么改啊,求教大神,谢啦