From bfe7cc8f881b66e7ce8eac9d62d4293a3cf86caa Mon Sep 17 00:00:00 2001 From: Weber Date: Thu, 28 Mar 2024 17:54:01 +0000 Subject: [PATCH] test --- a1/program.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/a1/program.c b/a1/program.c index ac2ae3c..4169d13 100644 --- a/a1/program.c +++ b/a1/program.c @@ -11,9 +11,6 @@ int main() { int cislo1, cislo2, vysledok_zadany; char operacia; - - while (getchar() != '\n'); - if (sscanf(uloha, "%d %c %d = %d", &cislo1, &operacia, &cislo2, &vysledok_zadany) != 4) { printf("CHYBA\n"); continue; @@ -51,4 +48,4 @@ int main() { } return 0; -} \ No newline at end of file +}