Cari Blog Ini

20 November 2010

IT - Comparator Operator

* Character can be compared by refering to its ASCII number. 
Example: ‘a’ is more bigger than ‘A’ because ASCII number for ‘a’ (97) is bigger than ASCII number for ‘A’ (65).
* Comparator operator is different than asssignment operator.
X = 14 --> store 14 to X.
X == 14 --> compare if X is equal to 14.