title: Area Of The Circle That Has A Square And A Circle Inscribed In It
signature: def areaOfTheCircleThatHasASquareAndACircleInscribedInIt(a: Int) = {
test_code: import scala.collection.mutable.HashMap
  import scala.collection.immutable.HashSet
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  
  // TESTING CODE 
  // ============================================
  def validateSolution(actual: Double , expected: Double): Boolean = {
      (actual - expected).abs < 1e-09
  }
  
  def driver(a: Int, expected: Double): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(a),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        77, 
        4656.625710783471    
      )}")   
  
  
      println(s"TEST-1...${driver(
        18, 
        254.46900494077323    
      )}")   
  
  
      println(s"TEST-2...${driver(
        83, 
        5410.607947645021    
      )}")   
  
  
      println(s"TEST-3...${driver(
        39, 
        1194.5906065275187    
      )}")   
  
  
      println(s"TEST-4...${driver(
        68, 
        3631.6811075498013    
      )}")   
  
  
      println(s"TEST-5...${driver(
        28, 
        615.7521601035994    
      )}")   
  
  
      println(s"TEST-6...${driver(
        71, 
        3959.192141686537    
      )}")   
  
  
      println(s"TEST-7...${driver(
        14, 
        153.93804002589985    
      )}")   
  
  
      println(s"TEST-8...${driver(
        21, 
        346.36059005827474    
      )}")   
  
  
      println(s"TEST-9...${driver(
        73, 
        4185.386812745001    
      )}")   
  
  }
  
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;
  }