title: Program To Find The Volume Of A Triangular Prism
signature: func programToFindTheVolumeOfATriangularPrism(l float64, b float64, h float64) float64 {
test_code: package main
  
  import (
      "fmt"
      "reflect"
      "math"
      "sort"
  )
  
  // SOLUTION CODE
  // ===================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE
  // ===================================
  func validateSolution(actual float64, expected float64) bool {
      return math.Abs(actual - expected) < 1e-09
  }
  
  func driver(l float64, b float64, h float64, expected float64) string {
      if validateSolution(PLACEHOLDER_FN_NAME(l, b, h),expected) {
              return "PASSED"
      }
      return "FAILED"
  
  }
  
  func main() {
  
      // Use imports to avoid undefined errors
      var _ = reflect.DeepEqual
      _ = math.Abs
      _ = sort.Sort
      result := ""
      result = driver(8448.900678262902, 
  	8135.461799983198, 
  	6577.239053611328, 226045593884.95786)
      fmt.Printf("TEST-0...%s\n", result)
      
      result = driver(-1849.728957491451, 
  	-4240.89241631363, 
  	-9953.518310747193, -39040194699.58562)
      fmt.Printf("TEST-1...%s\n", result)
      
      result = driver(412.667844022232, 
  	9798.083992381831, 
  	1449.9204200270522, 2931270907.5877957)
      fmt.Printf("TEST-2...%s\n", result)
      
      result = driver(-5954.835911765373, 
  	-661.8872499003203, 
  	-8049.6051526695055, -15863477478.565292)
      fmt.Printf("TEST-3...%s\n", result)
      
      result = driver(8437.913444665008, 
  	8182.675681595904, 
  	9863.296545513396, 340504220608.1437)
      fmt.Printf("TEST-4...%s\n", result)
      
      result = driver(-7183.181663518317, 
  	-6846.746446198541, 
  	-971.2199894221352, -23882990818.874195)
      fmt.Printf("TEST-5...%s\n", result)
      
      result = driver(2340.7905920227954, 
  	5479.00956987109, 
  	7073.449591910562, 45359252560.89365)
      fmt.Printf("TEST-6...%s\n", result)
      
      result = driver(-7281.157547371143, 
  	-615.8705455524116, 
  	-3343.0245192607968, -7495479637.450533)
      fmt.Printf("TEST-7...%s\n", result)
      
      result = driver(471.3930826982504, 
  	1357.3753126091392, 
  	1907.815700915636, 610364933.1115178)
      fmt.Printf("TEST-8...%s\n", result)
      
      result = driver(-7550.426360065503, 
  	-2693.2262997056355, 
  	-9110.64755244532, -92632540179.42117)
      fmt.Printf("TEST-9...%s\n", result)
      
          
  }
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;
  }