/*1)If Statement 

Syntax:

if(condition){

statement block; //if true    

}

           statement   //if false

Note:-

For single line decision statement:- if(condition) statement

*/

 /*2)If..Else statement:

Syntax:-

   if(condition/test expression) {

     Statement block(true)

     }

else 

          {

   Statement block(false)

 }

          Statement

*/

3)If else ladder & switch statement :-

/**
if else ladder statement

if(cond-1){
statement-1
}else if(cond-2){
statement-2
}else if(cond-n){
statement-3
}else{
statement-4(default statement)
}
statement-x

* */
/** switch statement:
* syntax:
* switch(expression/condition){
* case constant 1:
* statement-1;
* [break; -- for stopping further execution]
* case constant 2:
* statement-2;
* :
* :
* default:
* statement default
*
*
* }
*
*/