Introduction - If you have any usage issues, please Google them yourself
#include<stdio.h>
#include<math.h>
main()
{
int i,x
scanf(" d",&x)
for(i=2 i<=x-1 i++)
if(x i==0) printf("NO\n")
for(i=2 i<=x/2 i++)
for(i=2 i<=sqrt(x) i++)
}
第十行不加冒号时出错信息为:
C:\Documents and Settings\w\桌面\111\project\1.c(11) : error C2143: syntax error : missing before }