/* NestedBrackets.java by Craig Persiko
   Solution to in-class exercise in CS 111A:
   Write nested loops that make the following pattern of brackets:
  [][][][]
  [][][][]
  [][][][]
*/

public class NestedBrackets
{
  public static void main(String[] args)
  {
    for(int i=1; i<=3; i++)
    {
      for(int j=1; j<=4; j++)
        System.out.print("[]");
      System.out.println();
    }
  }
}



syntax highlighted by Code2HTML, v. 0.9