Update cv7/program.c

This commit is contained in:
Marat Izmailov 2024-11-14 13:09:20 +00:00
parent 5fb56ef411
commit 76c7f674bf

View File

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