CS30 -- Introduction to Computer Science II
Fall, 2006
Homework 1
(updated 8/30/2006)

From the text (Budd's Classic Data Structures in Java), Chapter 1, pg 21:

Do numbers 1 and 2

Programming Projects:
Do number 1.  Here is a "driver" class that will exercise your PrintInt class.  You need to create a "PrintInt" class that will contain the "printInt" method (note the case-sensitivity) that is started on page 10 in the text.  In your code, you should address the problem identified in the question on page 21 (i.e., in programming project 1).  Note, you will also have to include in your class an implementation of the "digitChar(int)" method.  Also note, there are several typos in the code on pages 10 and 11.  See if you can find them.

Submission Instructions:
Eureka is not currently responding to me.  Ideally, you will submit your completed assignments via Eureka acording to the following instructions.  However, if Eureka continues to be down, email me a zip file as follows:
Your assignements should be submitted as a tar or a zip file; do NOT use .rar format.  It is important that when I unpack your submission, it create a folder with your name an assignment identifier (e.g., cjonesHW1).  Test that out.  You should include your PrintInt.java file and any other files that you created or modified.  Your PrintInt.java class should work appropriately when called by my original RunPI.java class.  Note that the Westmont mailer will generally reject attachments with a .zip extension.  If you will be using zip to package your submissions, change the extension to something like ".gak" or ".foo".  I'll change the extension back.  (Note, if you're using tar and gzip, a .tar or .tgz extension will not bother the mailer at all.)