#include<stdio.h>
#include<stdbool.h>
#include<stdlib.h>
bool
ISsushu(int m)
{
int n;
for(n=2;n<=m/2;n++)
{
if(m%n==0)
{
return false;
}
}
return true;
}
void main(void )
{
int i=0;
do
{
i++;
//
printf("i=%d;ISsushu(i)=%d;ISsushu(i+10)=%d;ISsushu(i+14)=%d\n",i,ISsushu(i),ISsushu(i+10),ISsushu(i+14));
}
while(!(ISsushu(i) && ISsushu(i+10) && ISsushu(i+14)));
printf("第一个满足条件的数是:%d\n",i);
}