void main(){ int n;int m;printf("please input n\n");scanf("%d",&n);for(int i = 1; i <= n; i++)if(i % 3 == 0 || i % 7 == 0){ m++;printf("%-3d",i);if(m % 10 == 0)printf("\n");} printf("\n");} /* 用while循环实现*/ include<stdio.h>...