title: Area Of The Circle That Has A Square And A Circle Inscribed In It
signature: function areaOfTheCircleThatHasASquareAndACircleInscribedInIt($a) {
test_code: <?php
  
  
  // SOLUTION CODE 
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function validateSolution($actual, $expected){
      return abs($actual - $expected) < 1e-09;
  }
  
  function driver($a, $expected){
      try{
        if (validateSolution(PLACEHOLDER_FN_NAME($a), $expected)){
          return "PASSED";
        }
        return "FAILED";
      }
      catch (Exception $exception_obj) {
        return get_class($exception_obj);
      }
  }
  
  function main(){
      printf("TEST-0...%s\n",driver(
        77, 
        4656.625710783471));
      
      printf("TEST-1...%s\n",driver(
        18, 
        254.46900494077323));
      
      printf("TEST-2...%s\n",driver(
        83, 
        5410.607947645021));
      
      printf("TEST-3...%s\n",driver(
        39, 
        1194.5906065275187));
      
      printf("TEST-4...%s\n",driver(
        68, 
        3631.6811075498013));
      
      printf("TEST-5...%s\n",driver(
        28, 
        615.7521601035994));
      
      printf("TEST-6...%s\n",driver(
        71, 
        3959.192141686537));
      
      printf("TEST-7...%s\n",driver(
        14, 
        153.93804002589985));
      
      printf("TEST-8...%s\n",driver(
        21, 
        346.36059005827474));
      
      printf("TEST-9...%s\n",driver(
        73, 
        4185.386812745001));
      
  }
  
  main();
  ?>
source_py: def area_of_the_circle_that_has_a_square_and_a_circle_inscribed_in_it(a):
      area = (((math.pi * a) * a) / 4)
      return area
source_cpp: float area_of_the_circle_that_has_a_square_and_a_circle_inscribed_in_it(int a) {
    float area = ( M_PI * a * a ) / 4.0;
    return area;
  }