V
vamp4l
wandering if there is a way to leave a nested if statement to test the
next if statement
for example
if (i >= 6){
if (i >= 12)
cout << ">12\n"
else (what would i need to put here to leave this if-else block to
continue on to test the next condition?)
}
if (i >= 4){
if (i >= 6)
....
}
next if statement
for example
if (i >= 6){
if (i >= 12)
cout << ">12\n"
else (what would i need to put here to leave this if-else block to
continue on to test the next condition?)
}
if (i >= 4){
if (i >= 6)
....
}