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