how we convert switch statement to else if statement
Answers
Answered by
1
Hey there is your answer.. hope it helps u ☺
if(a == 0)
{
...
}
else
if(a == 1)
{
....
}
...
/* continues to default case, default follows */ else
{
//default parameters
}
if(a == 0)
{
...
}
else
if(a == 1)
{
....
}
...
/* continues to default case, default follows */ else
{
//default parameters
}
sabu3:
thanks for your help.
Similar questions