test
This commit is contained in:
parent
67eacf774d
commit
281672ba02
@ -46,7 +46,7 @@ void spusti_system(Uzol *uzol) {
|
||||
|
||||
char odpoved;
|
||||
if (scanf(" %c", &odpoved) != 1 || (odpoved != 'a' && odpoved != 'n')) {
|
||||
printf("Chyba: Nesprávny vstup.\n");
|
||||
printf("Nerozumiem.\n");
|
||||
return;
|
||||
}
|
||||
uzol = (odpoved == 'a') ? uzol->ano : uzol->nie;
|
||||
|
Loading…
Reference in New Issue
Block a user