Update a1/program.c

This commit is contained in:
Yurii Chechur 2024-10-24 20:46:32 +00:00
parent 04fc1739b8
commit 37711fc39e

View File

@ -50,7 +50,7 @@ int main() {
}
if (!isMatching(stack[top], current)) {
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;
}
top--;