public static void main(String[] args)
 {
     // Please do not modify this line. 
     int numberOfRows = 5;
     
     // YOUR CODE HERE
     // Use nested for loops to print the triangle pattern. 
     // Please use the variable numberOfRows to control how many
     // rows you print.
     // Note: the desired number of columns depends on which row
     // you are printing. 
     for (int row = 1; row <= numberOfRows; row++)
     {
    	 for (int col = (numberOfRows+1)-row; col <= numberOfRows; col++)
    	 {
        	 String printer = "[]";
    		 System.out.print(printer);
	     }
    	 System.out.println();
     }
 }