I've got a nested loop looking like this:
while (true) {
if (Some Condition) { // This is first if statement
} else {
if (Some other condition) { // This is second if statement
} else {
if (Some other condition) { // This is third if statement
} else { // repeat second if statement
}
}
How can I use the else statement from the third if statement to rerun the loop starting from the second if statement?
Aucun commentaire:
Enregistrer un commentaire