Update cv7/program.c

This commit is contained in:
Marat Izmailov 2024-11-14 13:13:20 +00:00
parent 76c7f674bf
commit 4f0cef482d

View File

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