class Ex4{ public static void main(String [] san) { int z=1; while(z<7){ for(int j=0;j<=z;j++) { for(int i=0;i<=j;i++) { System.out.println("*"); z++; } System.out.print("\n"); } } } }
length
horizontalIndex
lineCount
line
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)