Initializacia

This commit is contained in:
Kozar 2024-11-10 15:53:15 +00:00
parent cda4f030d6
commit 1b9c8f4a2e

View File

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