From 02119d68d9db5cdb5853dba74c798f70cd64d4e4 Mon Sep 17 00:00:00 2001 From: Viktor Daniv Date: Sat, 26 Oct 2024 19:35:59 +0000 Subject: [PATCH] Update a1/program.c --- a1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a1/program.c b/a1/program.c index 30b08f9..2bef3ed 100644 --- a/a1/program.c +++ b/a1/program.c @@ -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"); }