# include <stdio.h> int main (void) { int i,j; for (i = 0; i < 3; ++i) { printf ("111\n"); for (j = 2; j < 5; ++j) { printf("222\n"); printf("333\n"); } printf ("444\n"); } return 0; }
运行结果
111
222
333
222
333
222
333
444
111
222
333
222
333
222
333
444
111
222
333
222
333
222
333
444
Press any key to continue
原文:https://www.cnblogs.com/a188/p/12380320.html