file3.c 186 B

12345678910
  1. //
  2. // file3.c
  3. #include <stdio.h>
  4. inline double square(double x) { return (int) (x * x + 0.5); }
  5. void masp(double w)
  6. {
  7. double kw = square(w);
  8. printf("%.2f\n", kw);
  9. return;
  10. }