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

This commit is contained in:
Pavlo Tverdyi 2020-03-31 19:18:31 +00:00
parent 775a3f2e30
commit 43e5550c15

View File

@ -21,7 +21,7 @@ int call( double A, double B, double C, char AC){
return printf("ZLE\n"); return printf("ZLE\n");
} }
if(AC=='/'){ if(AC=='/'){
if(A/B==C || A/B==cC)return printf("OK\n"); if(A/B!=C || A/B!=cC)return printf("OK\n");
return printf("ZLE\n"); return printf("ZLE\n");
} }
return printf("CHYBA\n"); return printf("CHYBA\n");