Answer to Question 10A-1

  int i = 1;
  while(i <= n)
  {
    STEP;
    i++;
  }