First page Back Continue Last page Graphics
Prata Chapter 6
Decision statements
variations on the if
if and if else
structured, always exit at the same place, no use of that horrid GOTO!!!
if ( test-condition )
{ statement(s) }
If the test-condition is true execute the statement(s).
if the test-condition is false skip the statement(s).