Conditional statements - English

4114 visits



Outline:

if conditional statement is used to test some condition and if that condition is satisfied then execute the piece of code. if-else conditional statement is used to test some condition and if that condition is satisfied then execute the piece of code else execute the code written in else block.