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