Nested If
Nested If
BY: K.MORGAN
OBJECTIVES:
A nested-if is an if statement
that is the target of another IF
statement.
The nested-if statement executes one condition from multiple
statements. The execution starts from top and checked for each if
condition.
•Otherwise, if the mark is 70 or greater, then the statement for “satisfactory result” will be
output.
•However, regardless of the mark, another statement to await the end of the term report
is also output.
PSEUDOCODE FOR THE NESTED IF
FLOWCHART
NESTED-IF ACTIVITY