This commit is contained in:
Denis Landa 2025-11-20 21:28:38 +01:00
parent d9eacd2f96
commit c0bcdc2869

View File

@ -53,12 +53,12 @@ void spusti_system(struct Uzol* u){
return;
}
printf("Chybny vystup\n");
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
printf("%s", u->text);
char c;
if(scanf(" %c", &c) != 1){
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
printf("Chybny vystup\n");
return;
}