Update a1/program.c
This commit is contained in:
parent
af3f5afd54
commit
63a7cc46cd
@ -54,8 +54,8 @@ int main() {
|
||||
}
|
||||
|
||||
if (top != -1) {
|
||||
printf("Unexpected opennig bracket\n");
|
||||
return 1;
|
||||
printf("Missing closing brackets for: %c\n", stack[top]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
printf("All brackets OK\n");
|
||||
|
Loading…
Reference in New Issue
Block a user