From ac5562c6b8dc0a629b4edb28fe9f77aafd9f4b84 Mon Sep 17 00:00:00 2001 From: Deinerovych Date: Tue, 29 Oct 2024 14:49:40 +0100 Subject: [PATCH] 2 --- a1/program.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/a1/program.c b/a1/program.c index a12312e..0524f3d 100644 --- a/a1/program.c +++ b/a1/program.c @@ -60,3 +60,10 @@ void check_brackets(const char *code) { printf("All brackets OK\n"); } } + +int main() { + // Примеры для проверки + check_brackets("{[<(asdf)>]}"); + check_brackets(")"); + return 0; +}