Изменить 'du4/program.c'
This commit is contained in:
parent
b10e58d7d2
commit
17fd4fd04d
@ -23,9 +23,9 @@ int call(float A, float B, float C, char AC){
|
||||
float Cc=A/B;
|
||||
Cc=(int)(Cc*100000);
|
||||
Cc=(float)Cc/100000;
|
||||
if(Cc==C)return printf("OK/n");
|
||||
if(Cc==C)return printf("OK\n");
|
||||
printf("%f",Cc);
|
||||
return printf("ZLE/n");
|
||||
return printf("ZLE\n");
|
||||
}
|
||||
return printf("CHYBA");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user