Is it ok to write many lines of code in each SWITCH CASE
OR
for such a situation one must use an IF statement ?
The program works in both scenarios but what is the best practise Or what is followed in industry ?
Thanks.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajkiran SwainPosted Jul 28, 2017, 6:13 AM
Raghav JhavarPosted Jul 28, 2017, 6:04 AM
Midhun TpPosted Jul 28, 2017, 5:42 AM
Rafnas T PPosted Jul 28, 2017, 3:21 AM