title: Program To Find The Volume Of A Triangular Prism
signature: def programToFindTheVolumeOfATriangularPrism(l: Double, b: Double, h: 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(l: Double, b: Double, h: Double, expected: Double): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(l, b, h),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        8448.900678262902, 8135.461799983198, 6577.239053611328, 
        226045593884.95786    
      )}")   
  
  
      println(s"TEST-1...${driver(
        -1849.728957491451, -4240.89241631363, -9953.518310747193, 
        -39040194699.58562    
      )}")   
  
  
      println(s"TEST-2...${driver(
        412.667844022232, 9798.083992381831, 1449.9204200270522, 
        2931270907.5877957    
      )}")   
  
  
      println(s"TEST-3...${driver(
        -5954.835911765373, -661.8872499003203, -8049.6051526695055, 
        -15863477478.565292    
      )}")   
  
  
      println(s"TEST-4...${driver(
        8437.913444665008, 8182.675681595904, 9863.296545513396, 
        340504220608.1437    
      )}")   
  
  
      println(s"TEST-5...${driver(
        -7183.181663518317, -6846.746446198541, -971.2199894221352, 
        -23882990818.874195    
      )}")   
  
  
      println(s"TEST-6...${driver(
        2340.7905920227954, 5479.00956987109, 7073.449591910562, 
        45359252560.89365    
      )}")   
  
  
      println(s"TEST-7...${driver(
        -7281.157547371143, -615.8705455524116, -3343.0245192607968, 
        -7495479637.450533    
      )}")   
  
  
      println(s"TEST-8...${driver(
        471.3930826982504, 1357.3753126091392, 1907.815700915636, 
        610364933.1115178    
      )}")   
  
  
      println(s"TEST-9...${driver(
        -7550.426360065503, -2693.2262997056355, -9110.64755244532, 
        -92632540179.42117    
      )}")   
  
  }
  
source_py: def program_to_find_the_volume_of_a_triangular_prism(l, b, h):
      return (((l * b) * h) / 2)
source_cpp: float program_to_find_the_volume_of_a_triangular_prism(float l, float b, float h) {
    float volume = ( l * b * h ) / 2;
    return volume;
  }