Computer Science, asked by sabu3, 1 year ago

how we convert switch statement to else if statement

Answers

Answered by shiv1319
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
}

sabu3: thanks for your help.
shiv1319: welcome
shiv1319: can you Mark this answers as a brainiest?
sabu3: brainiest?
shiv1319: one the top of my answer you can see that there is a option where is written that mark as brainliest there you just have to click
Similar questions