title: Program To Find The Volume Of A Triangular Prism
signature: class Solution {
  
      public decimal ProgramToFindTheVolumeOfATriangularPrism(decimal l, decimal b, decimal h) {
test_code: using System;
  using System.Numerics;
  using System.Diagnostics;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Security.Cryptography;
  using System.Web.UI;
  using System.Web.Script.Serialization;
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  namespace EvaluatePrediction {
      class TestRunner {
          public bool ValidateSolution(decimal actual, decimal expected){
              return Math.Abs(actual - expected) < 1e-09m;
          }
  
          public string driver(decimal l, decimal b, decimal h, decimal expected){
              try{
                PLACEHOLDER_CLS_NAME solution_cls = new PLACEHOLDER_CLS_NAME();
                decimal pred_result = solution_cls.PLACEHOLDER_FN_NAME(l, b, h); 
                if (ValidateSolution(
                      pred_result,
                      expected)){
                  return "PASSED";
                }
                return "FAILED";
              } 
              catch (Exception exception_obj)
              {
                return exception_obj.GetType().FullName;
              }
          }
          static void Main(string[] args) {
              TestRunner runner = new TestRunner();
              String result;
              result = runner.driver(
                  8448.900678262902m, 8135.461799983198m, 6577.239053611328m, 
                  226045593884.95786m
              );
              Console.WriteLine(string.Format(
                  "TEST-0...{0}",
                  result)
              );result = runner.driver(
                  -1849.728957491451m, -4240.89241631363m, -9953.518310747193m, 
                  -39040194699.58562m
              );
              Console.WriteLine(string.Format(
                  "TEST-1...{0}",
                  result)
              );result = runner.driver(
                  412.667844022232m, 9798.083992381831m, 1449.9204200270522m, 
                  2931270907.5877957m
              );
              Console.WriteLine(string.Format(
                  "TEST-2...{0}",
                  result)
              );result = runner.driver(
                  -5954.835911765373m, -661.8872499003203m, -8049.6051526695055m, 
                  -15863477478.565292m
              );
              Console.WriteLine(string.Format(
                  "TEST-3...{0}",
                  result)
              );result = runner.driver(
                  8437.913444665008m, 8182.675681595904m, 9863.296545513396m, 
                  340504220608.1437m
              );
              Console.WriteLine(string.Format(
                  "TEST-4...{0}",
                  result)
              );result = runner.driver(
                  -7183.181663518317m, -6846.746446198541m, -971.2199894221352m, 
                  -23882990818.874195m
              );
              Console.WriteLine(string.Format(
                  "TEST-5...{0}",
                  result)
              );result = runner.driver(
                  2340.7905920227954m, 5479.00956987109m, 7073.449591910562m, 
                  45359252560.89365m
              );
              Console.WriteLine(string.Format(
                  "TEST-6...{0}",
                  result)
              );result = runner.driver(
                  -7281.157547371143m, -615.8705455524116m, -3343.0245192607968m, 
                  -7495479637.450533m
              );
              Console.WriteLine(string.Format(
                  "TEST-7...{0}",
                  result)
              );result = runner.driver(
                  471.3930826982504m, 1357.3753126091392m, 1907.815700915636m, 
                  610364933.1115178m
              );
              Console.WriteLine(string.Format(
                  "TEST-8...{0}",
                  result)
              );result = runner.driver(
                  -7550.426360065503m, -2693.2262997056355m, -9110.64755244532m, 
                  -92632540179.42117m
              );
              Console.WriteLine(string.Format(
                  "TEST-9...{0}",
                  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;
  }