Update cv7/program.c

This commit is contained in:
Marat Izmailov 2024-11-14 13:06:35 +00:00
parent 36d426b4e2
commit 5fb56ef411

View File

@ -81,7 +81,9 @@ int main() {
} }
int pocet_tovarov = pocet_listov(databaza_znalosti); int pocet_tovarov = pocet_listov(databaza_znalosti);
printf("Databáza obsahuje %d tovarov.\n", pocet_tovarov); printf("Expert z bufetu to vie.\n");
printf("Pozna %d druhov ovocia a zeleniny.\n", pocet_tovarov);
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
spusti_expert_system(databaza_znalosti); spusti_expert_system(databaza_znalosti);
znic_strom(databaza_znalosti); znic_strom(databaza_znalosti);