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);