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
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
Biology,
1 month ago
Math,
1 month ago
India Languages,
3 months ago
Hindi,
3 months ago
Math,
10 months ago
Accountancy,
10 months ago
Math,
10 months ago