Exercise : Getting textbook code files

In this exercise we will download a program from the textbook for a debugging exercise.

  1. Go to the course web page and click the Textbook sidebar link.
  2. Find the section labeled Code Files and click the "code files" link.
  3. This will bring you to a listing of all chapters. Click the link for ch04.
  4. Download and save Hailstone.java. Right-click the file name and choose the option to Save the Link in the folder you have been using for lab work.
  5. Compile and run Hailstone.java in jGRASP.