Update cv7/program.c

This commit is contained in:
Marat Izmailov 2024-11-14 13:15:31 +00:00
parent 4f0cef482d
commit c2bcbcfff8

View File

@ -52,9 +52,9 @@ void spusti_expert_system(struct strom* uzol) {
char odpoved;
if (scanf(" %c", &odpoved) != 1 || (odpoved != 'a' && odpoved != 'n')) {
printf("Očakávala sa odpoveď 'a' alebo 'n'.\n");
printf("Nerozumiem\n");
return;
}
}
if (odpoved == 'a') {
spusti_expert_system(uzol->ano);