Key Points :
* else if Statement :
In
this dicision making statement the condition is checked in if statement first
&
if
the statement in the if statement become false then each condition is checked
after if
one another. & the true condition /block is exicuted.
Syntax
:
if(condition)
{
statement 1;
}
else
if(condition)
{
statement 2;
}
else
if(condition)
{
statement 3;
}
.
.
.
.
# Note:
In
this decision making statement, there can be many conditions.
No comments:
Post a Comment