title: Program To Find The Area Of Pentagon
signature: def programToFindTheAreaOfPentagon(a: Double) = {
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: Double, 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(
        2009.019461888707, 
        6944120.6857642615    
      )}")   
  
  
      println(s"TEST-1...${driver(
        -1480.5131394215787, 
        3771147.371815937    
      )}")   
  
  
      println(s"TEST-2...${driver(
        357.7870347569567, 
        220240.9998483103    
      )}")   
  
  
      println(s"TEST-3...${driver(
        -8040.293697508038, 
        111222537.30911414    
      )}")   
  
  
      println(s"TEST-4...${driver(
        3821.882657293133, 
        25130647.008061722    
      )}")   
  
  
      println(s"TEST-5...${driver(
        -6840.635072240347, 
        80508515.3102342    
      )}")   
  
  
      println(s"TEST-6...${driver(
        1623.036598830132, 
        4532163.809416133    
      )}")   
  
  
      println(s"TEST-7...${driver(
        -9714.00706195298, 
        162347573.54592204    
      )}")   
  
  
      println(s"TEST-8...${driver(
        3916.454769669618, 
        26389745.561382204    
      )}")   
  
  
      println(s"TEST-9...${driver(
        -669.068424712943, 
        770176.1075446572    
      )}")   
  
  }
  
source_py: def program_to_find_the_area_of_pentagon(a):
      area = (((sqrt((5 * (5 + (2 * sqrt(5))))) * a) * a) / 4)
      return area
source_cpp: float program_to_find_the_area_of_pentagon(float a) {
    float area;
    area = ( sqrt ( 5 * ( 5 + 2 * ( sqrt ( 5 ) ) ) ) * a * a ) / 4;
    return area;
  }