Update a1/program.c

This commit is contained in:
Yurii Chechur 2024-10-24 20:48:19 +00:00
parent 37711fc39e
commit 95f6f3844d

View File

@ -50,7 +50,7 @@ int main() {
} }
if (!isMatching(stack[top], current)) { if (!isMatching(stack[top], current)) {
char expected = expectedClosing(stack[top]); char expected = expectedClosing(stack[top]);
printf("Crossed bracket %c in %d, expected %c\n", current, i, expected); printf("Crossed bracket %c in %d, expected %c \n", current, i, expected);
return 0; return 0;
} }
top--; top--;