If-else control statement

if else is a programming construct/ concept for controlling the flow of program execution. The basic idea is to execute different code depending upon the outcome of an expression.


This is a companion discussion topic for the original entry at https://iq.opengenus.org/if-else-control-statement/