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

This commit is contained in:
Pavlo Tverdyi 2020-03-31 11:54:57 +00:00
parent 878e57dee1
commit b10e58d7d2

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"); if(Cc==C)return printf("OK/n");
printf("%f",Cc); printf("%f",Cc);
return printf("ZLE"); return printf("ZLE/n");
} }
return printf("CHYBA"); return printf("CHYBA");
} }