14
This commit is contained in:
		
							parent
							
								
									516cfb485b
								
							
						
					
					
						commit
						0261fe824d
					
				| @ -58,6 +58,8 @@ void run_expert_system(Node *node) { | ||||
| 
 | ||||
|         // Выводим текущий вопрос
 | ||||
|         printf("%s\n", node->text); | ||||
| 
 | ||||
|         // Выводим приглашение для ответа
 | ||||
|         printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n"); | ||||
| 
 | ||||
|         char answer; | ||||
| @ -82,6 +84,7 @@ void run_expert_system(Node *node) { | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| void free_tree(Node *node) { | ||||
|     if (node) { | ||||
|         free_tree(node->yes); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user