C语言--循环控制结构

 1 #include <stdio.h>
 2 /*
 3 void main(){
 4     int i,j;
 5     for (i =1;i<=9;i++){
 6         for (j=1;j<=i;j++){
 7             printf("*");
 8         }
 9         printf("
");
10     }
11 } */
12 
13 void main(){
14     int i,j;
15     for (i =1;i<=9;i++){
16         for (j=1;j<=i;j++){
17             putchar('*');
18         }
19         printf("
");
20     }
21 } 

原文地址:https://www.cnblogs.com/Mengchangxin/p/10022031.html