public class TestWhile {

  // code for exercises 7 and 8

  public static void main(String[] args) {

/*
    while (true) {
      System.out.println("Meep!");
    }
*/
/*
    String s = "";
    s = s+0;
    System.out.println(s);
    s = s+1;
    System.out.println(s);
    s = s+'a';
    System.out.println(s);



    String s = "xx";
    while (s != s + 0)

    {
      System.out.println(s);
    }

*/
    int i = 0;
    int j = 10;

    while (i < j)

    {
      i = i + 1;
      j = j - 1;
      System.out.println(i + j);
    }
  }
}
