fork(1) download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. struct triangle{
  5.  
  6. int a;
  7. int b;
  8. int c;
  9.  
  10. }ET={5,5,5};
  11.  
  12. int main(void) {
  13.  
  14. double s = 0;
  15. double size = 0;
  16. s = ET.a+ET.b+ET.c;
  17. s = s/2;
  18. printf("%lf",s);
  19.  
  20. return 0;
  21. }
  22.  
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
7.500000