Update a1/program.c

This commit is contained in:
Yurii Chechur 2024-10-24 20:39:07 +00:00
parent 7d962d4d38
commit ce85b8fd29

View File

@ -64,7 +64,7 @@ int main() {
if (top != -1) { if (top != -1) {
char expected = expectedClosing(stack[top]); char expected = expectedClosing(stack[top]);
printf("Missing closing brackets: %c\n", expected); printf("Missing closing brackets: %c\n", expected);
return 1; return 0;
} }
printf("All brackets OK\n"); printf("All brackets OK\n");