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

0 Comments