If-else control statement

control-statement
if-else

(Team) #1

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/