pridany case enteru
This commit is contained in:
parent
45dc7594ec
commit
f53bb8607a
@ -54,7 +54,9 @@ void spustac(struct uzol* uzol) {
|
||||
spustac (uzol -> lavy);
|
||||
} else if (odpoved == 'n') {
|
||||
spustac (uzol -> pravy);
|
||||
} else { // uvidim co test ocakava ked dam zle odpoved
|
||||
} else if (odpoved == '\n'){
|
||||
printf ("Koniec vstupu\n");
|
||||
} else {
|
||||
printf ("Nerozumiem\n");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user