Computer Science, asked by ipushplata832, 2 months ago


4. int x,y;
for(x=1; x<=5; x++)
{
for(y=1; y<x; y++)
{
if(x == 4)
break;
System.out.print(y);
}
System.out.println();
}​

Answers

Answered by atrs7391
2

Output for the given program:

1

12

1234

Answered by sohelhowrah23
1

Answer:

1

1 2

1 2 3

1 2 3 4 5

Correct answer

mark me as a brainlist

Similar questions