Обновить cv7/program.c
This commit is contained in:
		
							parent
							
								
									9b1b886f40
								
							
						
					
					
						commit
						781914b692
					
				| @ -79,13 +79,14 @@ int main() { | |||||||
|         printf("Chyba pri nacitani bazy pravidiel.\n"); |         printf("Chyba pri nacitani bazy pravidiel.\n"); | ||||||
|         return 1; |         return 1; | ||||||
|     } |     } | ||||||
|     printf("Expert z bufetu to vie.\n"); | 
 | ||||||
|  |     printf("Expert z bufetu to vie.\n");  // Сообщение об успешной загрузке базы
 | ||||||
|     int item_count = count_items(root); |     int item_count = count_items(root); | ||||||
|     printf("Pozna %d druhov ovocia a zeleniny.\n", item_count); |     printf("Pozna %d druhov ovocia a zeleniny.\n", item_count); | ||||||
| 
 | 
 | ||||||
|     ask_question(root); |     ask_question(root); | ||||||
|      |      | ||||||
|     printf("Koniec\n");  // Завершаем программу после вопроса
 |     printf("Koniec\n"); | ||||||
|     free_tree(root); |     free_tree(root); | ||||||
|     return 0; |     return 0; | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user