计161题目汇总--Problem C: 上直角三角形输出

/*Description




用基本输出语句打印以下图形:
#
##
###
####
#####
######


Input


本题目没有输入数据

Output


输出图形由6行组成,第1行有1个#号,第i行有连续的i个#号:
#
##
###
####
#####
######
Sample Input
无

Sample Output
#
##
###
####
#####
######
*/
#include 
int main()
{
    printf("#\n");
    printf("##\n");
    printf("###\n");
    printf("####\n");
    printf("#####\n");
    printf("######\n");
    return 0;
}
运行结果:
 
  

你可能感兴趣的:(计161题目汇总--Problem C: 上直角三角形输出)