state the different between if-else-if ladder and switch ....case
Answers
Answered by
12
In else if ladder, the control goes through the every else if statement until it finds true value of the statement or it comes to the end of the else if ladder.
In case of switch case, as per the value of the switch, the control jumps to the corresponding case.
20ᴛʜᴀɴᴋꜱ+ꜰᴏʟʟᴏᴡ= ɪɴʙᴏx
Similar questions