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 == '<') ? '>' : ')');