#include<stdio.h>#include<stdlib.h>int main(){int n=100,a=1;while(n<=200){if(n%3!=0&&n%5!=0){printf("%d ",n);if(a%5==0)printf("\n");a++;}n++;}system("pause");return 0;****}
while后加大括号表示大括号里的语句都是while循环里的语句,if同理