From de36b5531b47581f14a7b24dd7b149007025911f Mon Sep 17 00:00:00 2001 From: Weber Date: Thu, 31 Oct 2024 18:05:16 +0000 Subject: [PATCH] test --- a1/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/a1/program.c b/a1/program.c index 061a900..4e15111 100644 --- a/a1/program.c +++ b/a1/program.c @@ -92,10 +92,10 @@ void skontrolujZatvorky(const char *kod) { } if (!jePrazdny(&z)) { - printf("Missing closing brackets:"); + printf("Missing closing brackets: "); while (!jePrazdny(&z)) { char nezodpovedajuca = vyber(&z); - printf("%c ", + printf("%c", (nezodpovedajuca == '{') ? '}' : (nezodpovedajuca == '[') ? ']' : (nezodpovedajuca == '<') ? '>' : ')');