Due Date: Thu, Feb 6, 2003
First, read Chapter 2 from Downey. Study this for a quiz Friday. Then, do the following problems, and submit them on paper (written clearly!):
Write the following 4 Java programs -- without a computer:
1. Print out your name
2. Assign integer to “hours”, print out number of seconds in that many hours.
3. Assign integer to “seconds”, print out number of hours in that many seconds (integer division ok)
4. Assign integers to x and y, print out x2 + y2.
See Course Home Page.