diff --git a/du4/program.c b/du4/program.c index 7549de4..ed295ab 100644 --- a/du4/program.c +++ b/du4/program.c @@ -4,7 +4,7 @@ #include char add(double A, double B, double C,char AC){ - if(A+B==C)return printf("OK\n"); + if(CC==(float)C || A+B==C)return printf("OK\n"); return printf("ZLE\n"); } char subtr(double A, double B, double C,char AC){