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

This commit is contained in:
Pavlo Tverdyi 2020-03-31 19:27:05 +00:00
parent 43e5550c15
commit 2d291ebe9a

View File

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