From 1b9c8f4a2eb09e657f8732017fd70a7e99563d80 Mon Sep 17 00:00:00 2001 From: Kozar Date: Sun, 10 Nov 2024 15:53:15 +0000 Subject: [PATCH] Initializacia --- cv7/program.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cv7/program.c b/cv7/program.c index 2549acb..bbb96d5 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -52,11 +52,10 @@ void run_tree(struct tree* tree) { if (scanf(" %c", &response) != 1) { printf("Koniec vstupu\n"); return; - else if(response != 'a' && response != 'n'){ + } else if (response != 'a' && response != 'n') { printf("Nerozumiem\n"); return; } - } if (response == 'a') { run_tree(tree->left);