星期一, 4月 30, 2007

Homework 4-30-2007

Do Temperature Project, which is Project 7 (2nd ed.) or Project 3 (1st ed.).

Lab Class Definition III

Do Display 4.7 (2nd ed.) or 4.5 (1st ed.). Then use Display 4.8 to call 4.7.

Requirements
1. The method setDate has the parameter as setDate(int month, int day, int year).
What kind of changes should be made in its body of codes?

星期日, 4月 22, 2007

星期一, 4月 16, 2007

缺課紀錄

三次缺課(學期考試扣考)
施劼岳
魏豪億

二次缺課
梁躍叡
陳健勳
薛子源

Homework 4-16-2007: Class Definitions II

Study Display 4.2 & Display 4.4 (2nd ed.) or Display 4.2 & Display 4.3 (1st ed.) and then
1. comment out date.setDate(6, 17, year); by // date.setDate(6, 17, year);
2. At the next line below, add date.readInput();
3. Run the program again. Fix any problems you may encouter along the way.
4. At the last line of your program, add System.out.println(date.month);
and see what happens. Why?

Lab: Class Definition

Study Display 4.1 and then do Exercise 1.

星期一, 4月 09, 2007

Lab Exponential Funtion

Do Project 7 of Chap. 3. (2nd ed.) or Project 4 (1st ed.)

Hint: You don't have to use nested loops.

Lab Fibonacci numbers

Do Project 3.3 (1st ed.) or Project 6 (2nd ed.) Fibonacci numbers.
List the first 100 numbers and the ratio of
a number to its previous number.

Want to know more about Fibonacci number