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

This commit is contained in:
Pavlo Tverdyi 2020-03-31 19:00:15 +00:00
parent 820096055b
commit aa4ee99437

View File

@ -24,7 +24,7 @@ int call( double A, double B, double C, char AC){
double Cc=A/B; double Cc=A/B;
Cc=(int)(Cc*100000); Cc=(int)(Cc*100000);
Cc=(float)Cc/100000; Cc=(float)Cc/100000;
if(Cc==C || A/B==C)return printf("OK\n"); if(Cc==C || A/B==C || cC==C)return printf("OK\n");
return printf("ZLE\n"); return printf("ZLE\n");
} }
return printf("CHYBA\n"); return printf("CHYBA\n");