10/02/2008

If / elseif / else

These are for setting conditions in program.

if (condition) {
 ...

} else if (another condition) {
 ...

} else {

...
}

  • The condition statement should return boolean.
___

example