Update cv7/program.c
This commit is contained in:
		
							parent
							
								
									04b91e7d5d
								
							
						
					
					
						commit
						2b8352f725
					
				| @ -71,7 +71,7 @@ Node* parse_rules() { | ||||
| void ask_question(Node *node) { | ||||
|     if (!node) return; | ||||
|     if (node->yes == NULL && node->no == NULL) { | ||||
|         printf("*%s\n", node->content); | ||||
|         printf("* %s\n", node->content); | ||||
|         printf("Koniec\n"); | ||||
|         return; | ||||
|     } | ||||
| @ -89,8 +89,7 @@ void ask_question(Node *node) { | ||||
|             ask_question(node->no); | ||||
|             break; | ||||
|         } else { | ||||
|             printf("Neplatna odpoved, koniec.\n"); | ||||
|             break; | ||||
|             printf("Nerozumiem\n"); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user