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];
|
if (buf[0] == 'a' && buf[1] == '\0') current = yes_child[current];
|
||||||
else if (buf[0] == 'n' && buf[1] == '\0') current = no_child[current];
|
else if (buf[0] == 'n' && buf[1] == '\0') current = no_child[current];
|
||||||
else {
|
else {
|
||||||
printf("Chyba: Neplatny vstup '%s'.\n", buf);
|
printf("Nerozumiem\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user