fork download
  1. #include<stdio.h>
  2. int main(void)
  3. {
  4. double x, y;
  5. scanf("%lf",&x);
  6.  
  7. y = x/5*(x * x + 4);
  8.  
  9. printf("%lf\n",y);
  10. }
  11.  
Success #stdin #stdout 0s 5316KB
stdin
2.0
stdout
3.200000