/**
   This program demonstrates the while loop.
*/

public class WhileLoop
{
   public static void main(String [] args)
   {
      int number;
		
		// Initialization
		number = 1;

		// decision (number <= 5) continue while true
      while (number <= 5)

      { // begin body
         System.out.println("Hello");
         number++;	// update
      } // end body 

      System.out.println("That's all!");
   }
}
