From 28671d568233849886a8a75cfaa27c569875e796 Mon Sep 17 00:00:00 2001 From: Ivan Leichenko Date: Fri, 15 Nov 2024 05:51:11 +0100 Subject: [PATCH] output edit cv7 --- cv7/program.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cv7/program.c b/cv7/program.c index 0692f46..c8f3a37 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -80,7 +80,7 @@ void interact(struct tree *node) return; } - printf("%s (a/n) ?\n", node->value); + printf("%s\n", node->value); if (node->left == NULL && node->right == NULL) { @@ -111,7 +111,9 @@ void interact(struct tree *node) int main() { struct tree *root = read_tree(); - + printf("Expert z bufetu to vie.\n"); + printf("Pozna %d druhov ovocia a zeleniny.\n", count_leaf_nodes(root)); + printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n"); if (root == NULL) { printf("Chyba pri nacitani databazy pravidiel.\n");