Saturday, 13 July 2013

if statement syntax

C++ "if" statement contains following elements.
  • Test expression
  • if body

Figure: if statement

The operation of "if" statement is explained by using flow chart.

Figure: if statement flow chart

No comments:

Post a Comment