2012年3月21日 星期三

21/3/2012 課節一

教學進度:

1. Introduction to C++ (notes)
2. Basic input/output
3. Arithmetic operators
4. Assignment operators
5. Simple conditional statement (if...else...)

課後習題:

1. Data Process
Input
Five positive integers, which are smaller than 10000000000.
Output
The maximum integer, the minimum integer and the average value(in integer).

2. Leap Year
Input
A integer Y which represent the year. (0<Y<10000)
Output
Output "leap" in a line if Y is a leap year. Otherwise, output "No" in a line.

If you have any questions, please feel free to contact me here or on the Facebook.

沒有留言:

張貼留言