Update a1/program.c

This commit is contained in:
Viktor Daniv 2024-10-26 19:35:59 +00:00
parent 5760b56ea0
commit 02119d68d9

View File

@ -45,7 +45,7 @@ void check_brackets(const char *code) {
// Skontroluj, či sú všetky zátvorky uzavreté
if (stack_top >= 0) {
printf("Unmatched bracket at the end\n");
printf("Missing closing brackets: %c", top);
} else {
printf("All brackets OK\n");
}