Aktualizovat du5/program.c

This commit is contained in:
Daniel Dembický 2026-04-17 07:00:32 +00:00
parent b72c774390
commit b68f3d6247

View File

@ -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;
}
}