Update 'cv8/program.c'

This commit is contained in:
Anzhelika Nikolaieva 2023-11-24 22:22:43 +00:00
parent 0f74ea9a27
commit fbf9870e24

View File

@ -69,7 +69,6 @@ void print_dot(struct tree* node) {
}
print_dot(node->right);
}
//printf("}\n");
}
int count_leaves(struct tree* node) {
@ -100,7 +99,6 @@ void knowledge_system(struct tree* node) {
return;
}
//printf("%s", node->v);
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
printf("%s", node->v);
@ -108,7 +106,7 @@ void knowledge_system(struct tree* node) {
do {
scanf(" %c", &response);
if (response != 'a' && response != 'n') {
printf("Nespravny vstup\n");
printf("Nerozumiem\n");
return;
}
} while (response != 'a' && response != 'n');