【说明】 该程序运行后,输出下面的数字金字塔1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 ...... 1 2 3 4 5 6 7 8 9 8 7 6 5 4 3 2 1 【程序】 #include < stdio. h > main ( ) } char max, next; int i; for( max = ’1’; max <= ’9’; max + +) { for(i=1;i<=20- (1) ;++i) printf(" ");for(next = (2) ;next <= (3) ;next ++) printf(" %c" ,next);for(next= (4) ;next>= (5) ;next--) printf(" %c" ,next);printf(" \n" ); } }