Showing posts with label if else statement example. Show all posts
Showing posts with label if else statement example. Show all posts

The "if-else" Statement

The "if-else" Statement

This is another form of the "if statement". It is used for making two way decisions. In this statement, one condition and two blocks of statements are given. Either one of the two blocks of statements is executed after evaluating a condition.
Creative Commons License
Pakistan How by Tahira Aijaz is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.