How many if statements can you nest in one another? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How many if statements can you nest in one another?

20th Aug 2016, 6:10 PM
coding10010110
coding10010110 - avatar
1 Answer
0
There really is no limit. But, if/else isn't the only logic you can use. In fact there are cases where a switch/case would be the better option. (Switch/Case isn't covered yet)
24th Aug 2016, 9:06 PM
Scott Plunkett
Scott Plunkett - avatar