#include<stdio.h> main() { int x,i;
for(i=1;i<=100;i++) { x=i;
if(++x%2==0) if(++x%3==0) if(++x%7==0) printf("%d",x); }
printf("\n"); }
The output of the program is
c语言循环结构有三种,for、while、do while
带三个表达式且展示了每个数组的过程,所以是经典的for循环?