Conditions: Else If

Conditions: Else If

if(CONDITION 1){
 // do something
}
else if(CONDITION 2){
 // do something else
}
else if(CONDITION 3){
 // do another thing
}
else{
 // if none of the above are TRUE then do this.
}
Comments are closed.