This commit is contained in:
Filip Chochol 2026-04-08 16:27:58 +02:00
parent d40f2e4745
commit 06d14fdc9b

View File

@ -56,7 +56,7 @@ void spusti_system(struct strom* uzol) {
char odpoved[SIZE];
memset(odpoved, 0, SIZE);
if (fgets(odpoved, SIZE, stdin) == NULL) {
printf("Chybny vstup.\n");
printf("Nerozumiem\n");
return;
}
@ -65,7 +65,7 @@ void spusti_system(struct strom* uzol) {
} else if (odpoved[0] == 'n') {
spusti_system(uzol->nie);
} else {
printf("Chybny vstup.\n");
printf("Nerozumiem\n");
}
}