Computer Science, asked by Tony7505, 10 months ago

Write a program to print the following pattern using only one printing statement.
# # # # #
* * * *
# # #
* *
#

Answers

Answered by suvankar65
0

Answer:

class pat

{

void main()

{

int i,j;

for(i=5;i<=1;i++)

{

for(j=i;j<=i;j--)

{

if(j%2==0)

}

sop(j);

sopln();

}}}

Similar questions