fork download
  1. #include <stdio.h>
  2. float x = 4.5;
  3.  
  4. float f (float a)
  5.  
  6. {
  7. a+=1.3;
  8. x-=4.5;
  9. return(a+x);
  10. }
  11. int main(void) {
  12. // your code goes here
  13. float y;
  14.  
  15. x*=2.0;
  16. y=f(x);
  17. printf("\n%f%f",x,y);
  18. return 0;
  19. }
  20.  
Success #stdin #stdout 0s 2008KB
stdin
Standard input is empty
stdout
4.50000014.800000