Showing posts with label compound statements. Show all posts
Showing posts with label compound statements. Show all posts

The "if" Statement

The "if" Statement 

The "if" statement is used to execute (or ignore) a set of statements after testing a condition.
      The if statement evaluates a condition . If the given condition is true, the statement (or a set of statements) following the "if statement" is executed. If the given condition is false, the statement(or a set of statement) following the " if statement" condition is ignored and the control transfers to the next statement.
Creative Commons License
Pakistan How by Tahira Aijaz is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.