Aktualizovat du5/program.c
This commit is contained in:
parent
b72c774390
commit
b68f3d6247
@ -103,8 +103,8 @@ int main(void)
|
||||
if (buf[0] == 'a' && buf[1] == '\0') current = yes_child[current];
|
||||
else if (buf[0] == 'n' && buf[1] == '\0') current = no_child[current];
|
||||
else {
|
||||
printf("Chyba: Neplatny vstup '%s'.\n", buf);
|
||||
return 1;
|
||||
printf("Nerozumiem\n");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user