Update a1/program.c

This commit is contained in:
Viktor Daniv 2024-10-26 19:44:30 +00:00
parent 08bbe2150a
commit ea3282446c

View File

@ -49,7 +49,7 @@ void check_brackets(const char *code) {
// Перевірка, чи всі дужки закриті
if (stack_top >= 0) {
printf("Missing closing bracket: %c\n", stack[stack_top]);
printf("Missing closing bracket: %c\n", expected);
} else {
printf("All brackets OK\n");
}