Изменить 'du4/program.c'

This commit is contained in:
Pavlo Tverdyi 2020-03-31 11:55:25 +00:00
parent b10e58d7d2
commit 17fd4fd04d

View File

@ -23,9 +23,9 @@ int call(float A, float B, float C, char AC){
float Cc=A/B; float Cc=A/B;
Cc=(int)(Cc*100000); Cc=(int)(Cc*100000);
Cc=(float)Cc/100000; Cc=(float)Cc/100000;
if(Cc==C)return printf("OK/n"); if(Cc==C)return printf("OK\n");
printf("%f",Cc); printf("%f",Cc);
return printf("ZLE/n"); return printf("ZLE\n");
} }
return printf("CHYBA"); return printf("CHYBA");
} }