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
2
Output for the given program:
1
12
1234
Answered by
1
Answer:
1
1 2
1 2 3
1 2 3 4 5
Correct answer
mark me as a brainlist
Similar questions