Update cv7/program.c

This commit is contained in:
Marat Izmailov 2024-11-13 21:28:02 +00:00
parent 2b8352f725
commit ad35043de4

View File

@ -71,7 +71,7 @@ Node* parse_rules() {
void ask_question(Node *node) { void ask_question(Node *node) {
if (!node) return; if (!node) return;
if (node->yes == NULL && node->no == NULL) { if (node->yes == NULL && node->no == NULL) {
printf("* %s\n", node->content); printf("*%s\n", node->content); // Removed extra space after "*"
printf("Koniec\n"); printf("Koniec\n");
return; return;
} }
@ -94,6 +94,7 @@ void ask_question(Node *node) {
} }
} }
int main() { int main() {
printf("Expert z bufetu to vie.\n"); printf("Expert z bufetu to vie.\n");