Header Ads Widget

Responsive Advertisement

Controlling Statement

Controlling Statement are use to control the flow of the execution in the program based on certain conditions.

1) Decision Making (condition statement): use to execute a block of code if certain conditions are metched.

Syntax: 
If(condition){
Code execution 
}else{
The unsatisfied condition output}


let salary = "1lac"
If(salary <= 1 lac)
2) looping

3) branching switch

 

Post a Comment

0 Comments