fork download
  1. #include <stdio.h>
  2. const enum Aipha{
  3. X,
  4. Y=5,
  5. Z
  6. }p=10;
  7.  
  8. int main(void) {
  9. // your code goes here
  10. //float f=(char) 5.23f;
  11. //int p=2.999999f;
  12. //printf("%.2f",f);
  13. //printf("%f",p);
  14. enum Aipha a,b;
  15. a=X;
  16. b=Z;
  17. printf("%d",a+b-p);
  18. return 0;
  19. }
  20.  
Success #stdin #stdout 0s 5304KB
stdin
#include<stdio.h>

int main()

{

float f = (char) 5.23f;

printf("%.2f",f);

return 0;

}
stdout
-4