参考代码:
#include int main(){ int i = 105; int k = 1; while (i<1000) { printf("%d\t", i); if (k++ % 7 ==0) { printf("\n"); } i = i + 10; } printf("\n"); return 0;}