Computer Science, asked by jananimohanrajan, 3 months ago

JAVA PROGRAM
NESTED LOOP

123
12
1

Answers

Answered by bhatbhargavi06
0

Answer:

for (int i=1; i<=3; i++){

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

System.out.print(j);

}

System.out.println();

}

Similar questions