Computer Science, asked by lprishna123, 23 days ago

Write a program to print the following pattern
1
2 2
3 3
4
3
4
5 5
4
5 5
5​

Attachments:

Answers

Answered by suvankar65
0

Answer:

Class pattern

{

void main()

{

int i,j;

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

{

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

{

sop(i);

}

sopln();

}}}

Similar questions