Can we use switch statement inside If-else statement ? | Sololearn: Learn to code for FREE!
0

Can we use switch statement inside If-else statement ?

2nd Feb 2021, 6:26 AM
Nalayak_
Nalayak_ - avatar
10 Antworten
2nd Feb 2021, 6:39 AM
A͢J
A͢J - avatar
+ 3
SauravK.__ I am always ready to help.
2nd Feb 2021, 10:40 AM
A͢J
A͢J - avatar
+ 3
Yes bro
2nd Feb 2021, 5:52 PM
Wei Phyo Aung
Wei Phyo Aung - avatar
+ 2
Yes u can use that and it is known as nested if
2nd Feb 2021, 6:37 PM
Vikash Kumar Tiwari
Vikash Kumar Tiwari - avatar
+ 1
I Am AJ ! Thanks ! can we use else also if condition of if statement evaluates to false?
2nd Feb 2021, 6:53 AM
Nalayak_
Nalayak_ - avatar
+ 1
SauravK.__ Yes but you should try self before asking anything.
2nd Feb 2021, 8:26 AM
A͢J
A͢J - avatar
+ 1
I Am AJ ! I already tried many times just to revise the earlier topics I've learned thereafter I asked this question.. Ok let me try few more times then I hope you'll help me If would fail to do so..
2nd Feb 2021, 8:43 AM
Nalayak_
Nalayak_ - avatar
2nd Feb 2021, 2:20 PM
Nalayak_
Nalayak_ - avatar
+ 1
2nd Feb 2021, 3:34 PM
A͢J
A͢J - avatar
0
Yes
3rd Feb 2021, 4:11 AM
Grace Quaye
Grace Quaye - avatar