Problem Description
用基本输出语句打印以下图形:
#
##
###
####
#####
######
Input
本题目没有输入数据
Output
输出图形由6行组成,第1行有1个#号,第i行有连续的i个#号:
#
##
###
####
#####
######
Sample Input
Sample Output
# ## ### #### ##### ######
public class Main{
public static void main(String args[]) {
int c,d;
c = 0;
while(c<6) {
d = c;
while(d>=0){
System.out.print("#");
d--; }
System.out.println();
c++; }
}
}