0
is 'else if correct statement?
7 Answers
+ 3
yes. like this
If(condition)
{code to be executed}
else if(condtion)
{code to be executed}
else
{code to be executed}
+ 1
It's all the same with different languages. Same logic but can be different syntax.
+ 1
it also can be altered with switch.. same usage
0
yeah
0
yes
0
you may use 'elseif' or 'else if' statement
0
yes but it begin with if and end on else
"If(condition)
{code to be executed}
else if(condtion)
{code to be executed}
else
{code to be executed}
"