fork download
  1. #include <stdio.h>
  2. #define PI 3.14
  3.  
  4. struct Ellipse{
  5. int a;
  6. int b;
  7. }data={5,2};
  8.  
  9. int main(void)
  10. {
  11. printf("area : %.lf\n",PI*data.a*data.b);
  12.  
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
area : 31