if Statement It is used to conditionally execute a block of code. Basic programs of if statement
Nested if Statement If a if statement is used within on if statement then such a control structure is called as nested if. Program
if…else Statement This Statement is used to perform a task depending on whether a given condition is true or false. Programs
if…else..if Ladder Statement If a statement is used within an if statement then such a control structure is called ladder. Programs:
break Statement The break statement can be used in these ways: break is used inside the loop to come out of it. break is used inside the switch block to come out of it.
continue Statement continue is used inside a loop to repeat the next iteration of the loop. When continue is executed , subsequent in the loop are not executed and control of execution goes back to the next repetition of the Read More …