previous
|
start
|
next
The
if
Statement (Syntax 4.1 :
if
Statement)
Syntax 4.1 :
if
Statement
if (
condition
)
statement
Example:
if (x >= 0) y = sqrt(x);
Purpose:
Execute the statement if the condition is true.
previous
|
start
|
next