#include <stdio.h>
#include <stdlib.h>
#include<math.h>
int main()
{
int i,j,t;
for(i=101;i<=200;i+=2)
{
t = sqrt(i); //对i开平方根
for (j = 2; j <= t; j++)
{
if (i%j == 0) //i对j进行求余运算
{
break;
}
}
if (j > t)
{
printf("%d\n", i);
}
}
system(“pause”);
return 0;
}