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