diff --git a/a1/program.c b/a1/program.c index 83bc6fc..5898be9 100644 --- a/a1/program.c +++ b/a1/program.c @@ -38,7 +38,7 @@ int main(void) { } else if (ch == ')' || ch == '}' || ch == ']' || ch == '>') { if (top < 0) { - printf("Unexpected closing bracket %c in %d\n", ch, i); + printf("Unexpected closing bracket %c in %d \n", ch, i); ok = 0; break; } @@ -46,7 +46,7 @@ int main(void) { char last_open = stack[top]; char expected = expected_close(last_open); if (ch != expected) { - printf("Crossed bracket %c in %d, expected %c\n", ch, i, expected); + printf("Crossed bracket %c in %d, expected %c \n", ch, i, expected); ok = 0; break; }