C++ if...else
C++ if...else
The if else executes the codes inside the body of if the test expression is true and skip the expression is true and skips the codes inside the body of else.
if the test expression is false, it executes the codes inside the body of else statement and skip the codes inside the body of it.
How if...else statement works ?
Flowchart of if...else
Example : if...else Statements
Output
This line is always printed.
0 comments:
Post a Comment