Using nested if statements | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Using nested if statements

When im using a bunch of nested if statements how would i make it go back a "level" say for a menu so it can go back and to a diffrent option?

4th Mar 2017, 8:57 AM
Chandler
1 Antwort
+ 2
maybe you can use "goto". since you are using nested if statement, no matter which level you go back to,you will always go to the same place at the end , unless you change the value in the inner if statement.
5th Mar 2017, 2:22 AM
Steven Cai
Steven Cai - avatar