Monday, March 30, 2009

Form 2 (ICTL) : Data Type

DATA TYPE :
1. Boolean - True/False, Y/N, L/P, ...
2. String - Fatehah, Ali, Jalan Bunga Raya, Melaka, Johor, Yusof, ...
3. Double - 1.1, 345.76, 23.8, 5678.345, 4.67, ...
4. Integer - whole number - 34, 5, 678, 12, 987, ...

Exercise :
1. How many data type in programming ?
2. For each data type, give another 3 examples.

Labels