80-for嵌套循环222
# 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
浙公网安备 33010602011771号