Science, asked by rasmiprabha2222, 5 months ago

write the difference between switch case and else if ladder​

Answers

Answered by anagathalamadhavi601
4

Answer:

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.

Answered by Guru181
1

Explanation:

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

Similar questions