Homework 3 for Computer Science 125

Introduction to Computer Science

Boise State University, Spring 1999


This homework is due by 9pm, Friday, 12 February 1999. See the directions in Homework 1 to electronically submit homework.

Warm-up and Practice Problems

These are not be turned in. They are to help you understand the material, and some will appear on exams.

Graded Problems

P6. Exercise P3.1, p 126. Submit this as program 6 using the electronic submission. Please call the file (and the class) Program6.

Your program should ask the user for the month, day, and hour that the assignment is due, in that order. Each of these inputted values will be a positive whole number (and can be stored in an int). Your program should ask for no other input.

P7. Exercise P3.2, p 126. Submit this as program 7 using the electronic submission. Please call the file (and the class) Program7. Also, include an html file called "Program7.html" which calls your applet.

P8. Exercise P3.9, p 127. Submit this as program 8 using the electronic submission. Please call the file (and the class) Program8. Also, include an html file called "Program8.html" which calls your applet.