#include <stdio.h>
main()
{
int x = 1;
int find = 0;
while (!find) <--------------------------此处若为 "while (!find) ;" 则死循环,也无输出结果!!!!
{
if (x%2==1 && x%3==2 && x%5==4 && x%6==5 && x%7==0)
{
printf("x = %d\n", x);
find = 1;
}
x++;
}
main()
{
int x = 1;
int find = 0;
while (!find) <--------------------------此处若为 "while (!find) ;" 则死循环,也无输出结果!!!!
{
if (x%2==1 && x%3==2 && x%5==4 && x%6==5 && x%7==0)
{
printf("x = %d\n", x);
find = 1;
}
x++;
}
}