Conditional Statements

If-else statement If else statement can be used for executing a group statements based on a condition. Syntax

If the condition is satisfies then it will be executing if block and if the condition is not satisfied then it will be executing else block. Program:

Rule1: Specifying the condition to if else statement […]

Continue reading