Изменить 'du4/program.c'
This commit is contained in:
parent
5d39d50132
commit
8d81263887
@ -18,6 +18,7 @@ char multi(double A, double B, double C,char AC){
|
|||||||
}
|
}
|
||||||
char divi(double A, double B, double C,char AC){
|
char divi(double A, double B, double C,char AC){
|
||||||
float CC=A/B;
|
float CC=A/B;
|
||||||
|
long double CCC=A/B;
|
||||||
if(CC==C || A/B==C)return printf("OK\n");
|
if(CC==C || A/B==C)return printf("OK\n");
|
||||||
return printf("ZLE\n");
|
return printf("ZLE\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user