Computer Science, asked by kaustubhsharma1644, 1 year ago

#
###
#####
########
Write this program.

Answers

Answered by purnamahesh
2

Answer:

for(int i=0;i<8;i++){

if(i℅2!=0) for(int j=0;j<I;j++) cout<<"#";

court<<endl;

}

Answered by nnpandey608
0

Answer:

Class pattern

{

Void main()

{

for(int i = 1;i <= 7 ; i = i + 2)

{

for(int j = 1; j<=i; j++)

System.out.print("#");

System.out.println();

}

}

}

Explanation:

you can try to run this program on bluej i hope it will work.

Similar questions