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 +}