fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. #define PI 3.14
  6. #define CIRCLE_AREA(x) ((PI/4) * (x*(x))
  7.  
  8.  
  9. int x = 4;
  10. printf("%f", CIRCLE_AREA(x)));
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5304KB
stdin
Standard input is empty
stdout
12.560000