From b22000d7c3158f38b22ced94ccd125d2606e7b07 Mon Sep 17 00:00:00 2001 From: Anton Dolozin Date: Mon, 13 Oct 2025 15:49:13 +0200 Subject: [PATCH] T --- a1/program.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/a1/program.c b/a1/program.c index 0de1d60..00043a6 100644 --- a/a1/program.c +++ b/a1/program.c @@ -76,19 +76,19 @@ void read_input(LinkedNode** head){ push(head, buff[i]);} if(buff[i] == '[' || buff[i] == '<' || buff[i] == '{' || buff[i] == '(' && *head != NULL){ if(buff[i] == '['){ - printf("Read: %sMissing closing brackets: ]", buff); + printf("Read: %sMissing closing brackets: ]\n", buff); return; } if(buff[i] == '{'){ - printf("Read: %sMissing closing brackets: }", buff); + printf("Read: %sMissing closing brackets: }\n", buff); return; } if(buff[i] == '<'){ - printf("Read: %sMissing closing brackets: >", buff); + printf("Read: %sMissing closing brackets: >\n", buff); return; } if(buff[i] == '('){ - printf("Read: %sMissing closing brackets: 0", buff); + printf("Read: %sMissing closing brackets: )\n", buff); return; }