From c2bcbcfff8a530bee0b25dc7bc5b529572e4cc5e Mon Sep 17 00:00:00 2001 From: Marat Izmailov Date: Thu, 14 Nov 2024 13:15:31 +0000 Subject: [PATCH] Update cv7/program.c --- cv7/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv7/program.c b/cv7/program.c index a7de190..4c8f89e 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -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);