diff --git a/du4/program b/du4/program new file mode 100755 index 0000000..d0bdd66 Binary files /dev/null and b/du4/program differ diff --git a/du4/program.c b/du4/program.c index cd09970..9d435bc 100644 --- a/du4/program.c +++ b/du4/program.c @@ -11,7 +11,7 @@ int main(){ char znamienko; while(fgets(vstup, 100, stdin)!=NULL && *vstup!='\n'){ - if(sscanf(vstup, "%f %c %f = %f", &x, znamienko ,&y ,&z)!=4){ + if(sscanf(vstup, "%f %c %f = %f", &x, &znamienko ,&y ,&z)!=4){ printf("CHYBA\n"); continue; }