+ 7

What is switch statement?

25th Jan 2018, 12:25 AM
Bryan G. Caseserano
Bryan G. Caseserano - avatar
2 Antworten
25th Jan 2018, 5:24 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
The switch provides for a multiway branch. it enables a program to select among several alternatives. Way better and more organized than using nested if's which can get messy and complicated.
25th Jan 2018, 3:56 AM
Tim Millar
Tim Millar - avatar