分号去掉
#include<stdio.h> main() { int a; for (a=0;a<=100;a++) { if(a%3==0){ if(a%7==0){ printf("%d\n",a); } } } }
建议学下怎么缩进。代码这样太难看了。main改int main。