Write a program to print the following pattern
1
2 2
3 3
4
3
4
5 5
4
5 5
5
Attachments:
![](https://hi-static.z-dn.net/files/d9c/fb199daa28d77cff6ec91554f86435f9.jpg)
Answers
Answered by
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
Hindi,
2 months ago
History,
2 months ago
English,
2 months ago
India Languages,
4 months ago
Hindi,
4 months ago
Math,
11 months ago
Accountancy,
11 months ago
Math,
11 months ago