title: Area Of The Circle That Has A Square And A Circle Inscribed In It
signature: function area_of_the_circle_that_has_a_square_and_a_circle_inscribed_in_it(a)
test_code: using Printf
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  function validate_solution(actual, expected)
      return abs(actual - expected) < 1e-09
  end
  
  function driver(a, expected)
      try
  
          if validate_solution(PLACEHOLDER_FN_NAME(a), expected)
              return "PASSED";
          end
          return "FAILED";
      catch exception_obj
          return string(Base.typename(typeof(exception_obj)).wrapper);
      end
  end
  
  function main()
      
      result = driver(77, 4656.625710783471);
      @printf("TEST-0...%s\n",result);
      
      result = driver(18, 254.46900494077323);
      @printf("TEST-1...%s\n",result);
      
      result = driver(83, 5410.607947645021);
      @printf("TEST-2...%s\n",result);
      
      result = driver(39, 1194.5906065275187);
      @printf("TEST-3...%s\n",result);
      
      result = driver(68, 3631.6811075498013);
      @printf("TEST-4...%s\n",result);
      
      result = driver(28, 615.7521601035994);
      @printf("TEST-5...%s\n",result);
      
      result = driver(71, 3959.192141686537);
      @printf("TEST-6...%s\n",result);
      
      result = driver(14, 153.93804002589985);
      @printf("TEST-7...%s\n",result);
      
      result = driver(21, 346.36059005827474);
      @printf("TEST-8...%s\n",result);
      
      result = driver(73, 4185.386812745001);
      @printf("TEST-9...%s\n",result);
      
  end
  
  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;
  }