Update a1/program.c

This commit is contained in:
Yurii Chechur 2024-10-24 20:33:03 +00:00
parent af3f5afd54
commit 63a7cc46cd

View File

@ -54,8 +54,8 @@ int main() {
} }
if (top != -1) { if (top != -1) {
printf("Unexpected opennig bracket\n"); printf("Missing closing brackets for: %c\n", stack[top]);
return 1; return 0;
} }
printf("All brackets OK\n"); printf("All brackets OK\n");