Syntax of else if
else
if
It remove the
above problem but it has own problem it check all the condition until one
condition is true. So it is time consuming.
Syntax:-
If(condition1)
{
--------
}
else
if(condition2)
{
-----
}
else
{
----------
}
Comments
Post a Comment