dimanche 7 février 2016

C++ nested if-else statement

I ran into problems when I tried nested if-else statement like this. Could someone tell me why the computer always execute the else statement

If
    If
    else if
    else //would this nested else-if work inside an if statement
else if
 else

Aucun commentaire:

Enregistrer un commentaire