Step 0

  • Start a new CCS project called Part2
  • Copy the code at this link into a new CCS project. It is also shown here for reference
  • Begin the debugger

Step 1

  • Step through the entire code and watch the variables change
  • Understand what each line is doing

Step 2

  • It is good practice to comment your code
  • I seem to have forgotten to do this on lines 6 through the end
  • Comment the code on your lab sheet based off the observations you made in the previous step

Step 3

  • Flag down a Labbie
  • Explain your comments
  • Get a signature
  • Turn in your lab sheet
  • Go home. You're done. It's over now. You finished. Good job. KTHXBYE