program.c

This commit is contained in:
Patrik Seman 2023-03-16 15:50:05 +01:00
parent 74990de5e1
commit 9d13acd7ca
2 changed files with 1 additions and 1 deletions

BIN
du4/program Executable file

Binary file not shown.

View File

@ -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;
}