// NestedLoopEx1.java
// Aaron Tan
// Trace this program and determine the output without running it.

class NestedLoopEx1 {
 
  public static void main(String[] args) {

    int a, b;
    a = 1;
    while (a <= 4) {
      b = a + 3;
      while (b <= 10) {
        System.out.println("a = " + a + ", b = " + b);
        b += 3;
      }
      a++;
    }
  }

}


