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);