title: Program To Find The Volume Of A Triangular Prism
signature: program_to_find_the_volume_of_a_triangular_prism <- function(l, b, h) {
test_code: 
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  validate_solution <- function(actual, expected) {
      abs(actual - expected) < 1e-09
  }
  
  driver <- function(l, b, h, expected){
      if (validate_solution(PLACEHOLDER_FN_NAME(l, b, h), expected)){
          "PASSED"
      } else{
          "FAILED"
      }
  }
  
  main <- function() {
      cat(sprintf("TEST-0...%s\n",driver(
          8448.900678262902, 8135.461799983198, 6577.239053611328, 
          226045593884.95786
      )))
  
      cat(sprintf("TEST-1...%s\n",driver(
          -1849.728957491451, -4240.89241631363, -9953.518310747193, 
          -39040194699.58562
      )))
  
      cat(sprintf("TEST-2...%s\n",driver(
          412.667844022232, 9798.083992381831, 1449.9204200270522, 
          2931270907.5877957
      )))
  
      cat(sprintf("TEST-3...%s\n",driver(
          -5954.835911765373, -661.8872499003203, -8049.6051526695055, 
          -15863477478.565292
      )))
  
      cat(sprintf("TEST-4...%s\n",driver(
          8437.913444665008, 8182.675681595904, 9863.296545513396, 
          340504220608.1437
      )))
  
      cat(sprintf("TEST-5...%s\n",driver(
          -7183.181663518317, -6846.746446198541, -971.2199894221352, 
          -23882990818.874195
      )))
  
      cat(sprintf("TEST-6...%s\n",driver(
          2340.7905920227954, 5479.00956987109, 7073.449591910562, 
          45359252560.89365
      )))
  
      cat(sprintf("TEST-7...%s\n",driver(
          -7281.157547371143, -615.8705455524116, -3343.0245192607968, 
          -7495479637.450533
      )))
  
      cat(sprintf("TEST-8...%s\n",driver(
          471.3930826982504, 1357.3753126091392, 1907.815700915636, 
          610364933.1115178
      )))
  
      cat(sprintf("TEST-9...%s\n",driver(
          -7550.426360065503, -2693.2262997056355, -9110.64755244532, 
          -92632540179.42117
      )))
  
  }
  
  main()
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;
  }