From 9157d04d01b57a0ac6ad91aac637996d29651ca9 Mon Sep 17 00:00:00 2001 From: Artem Horbunov Date: Thu, 2 Apr 2020 18:11:20 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu4/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du4/program.c | 1 + 1 file changed, 1 insertion(+) diff --git a/du4/program.c b/du4/program.c index ba68395..ea54566 100644 --- a/du4/program.c +++ b/du4/program.c @@ -4,6 +4,7 @@ int main(){ while(1){ char read[1000000]; scanf("%[^\n]", read); + scanf("%*c"); float num1, num2, answer; char action; sscanf(read, "%f %c %f %*c %f", &num1, &action, &num2, &answer);