diff --git a/a1/program.c b/a1/program.c index 2a99da3..7c4ff8b 100644 --- a/a1/program.c +++ b/a1/program.c @@ -36,10 +36,9 @@ int main() { } } if (x > 0) { - printf("Unmatched opening bracket %c at position %d\n", stack[x-1], position[x-1]); + printf("Unexpected closing bracket %c in %d\n", stack[x-1], position[x-1]); } else { printf("All brackets OK\n"); } - return 0; } \ No newline at end of file