星期五, 10月 12, 2007

Lab Finding the max of three numbers

Write a program to decide the max number of the three input number.

Bonus: Lab for-loop

Write a program to generate the series 1, 1, 2, 3, 5, 8, 13, ...
The series has a property that the third number is the sum of the first and second numbers. For example, 2=1+1, 3=1+2, and 5=2+3.

Quiz 10-12-2007 pass list

電子三丙9426364張家瑜
資管三甲 9444162 陳怡如
電子三乙 9426208 黃韋翔
電子三乙9426212黃嘉弘
電子三丙9426352陳彥儒
電子三甲 9426106 周家汝
電子四乙9326227彭書敏
電子三乙9426202蘇柏寬
電子三丙9426324詹敬翔
電子三乙 9426219 郭逸興

繳交時間超過15分鐘以上者
電子4 丙 9326315梁彥
電子四乙 9326222 黃璽祐

未通過者下週前需補做Bonus

Quiz 10-12-2007

1. Let i, j be two integers. Write a program to exchange their values. How can you show your program is correct.

2. The identifier BufferedReader is normally abbreviated as BR in programming language C. However, Java programmers normally do not use abbreviations for identifiers. What are the advantages and disadvantages of not using abbreviations?

Lab: Tax Calculation

Study Display 3.1. Based on the income tax rate in Taiwan,
calculate the income tax of a person whose annual income is 1,000,000 or 2,000,000.

星期二, 10月 09, 2007

10月19日,停課一次。

10月19日,老師出國發表論文,停課一次。

星期五, 10月 05, 2007

10-5-2007 Homework

Lab: Keyboard Input
Project 1 of Chap. 2.
Project 3 of Chap. 2.