[
package javaapplication38;
public class JavaApplication38 {
public static void main(String[] args) {
int i,j;
for(i=1;i<=5;i++)
for(j=1;j<=i;j++) {
{
System.out.print(i);
}
System.out.println();
}
}
}
][m getting output as in netbeans
1
2
2
3
3
3
4
4
4
4
5
5
5
5
5
BUILD SUCCESSFUL (total time: 0 seconds)
as the correct output should be as 2
2
22
333
4444
55555 it shoul be pattern plz help wat to make changes in code
]