public class ForDemo
{
  public static void main (String[] args)
  {
    
    for (int counter = 1; counter <= 3; counter = counter + 1)
    {
      System.out.println("The square of " + counter + 
                         " is " + (counter * counter));
    }
    System.out.println("End of demonstration, does counter exist? no!");
  }
}