title: Program Calculate Volume Ellipsoid
signature: class Solution {
  
      public decimal ProgramCalculateVolumeEllipsoid(decimal r1, decimal r2, decimal r3) {
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 r1, decimal r2, decimal r3, decimal expected){
              try{
                PLACEHOLDER_CLS_NAME solution_cls = new PLACEHOLDER_CLS_NAME();
                decimal pred_result = solution_cls.PLACEHOLDER_FN_NAME(r1, r2, r3); 
                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(
                  3287.4842316041018m, 4503.332888443404m, 8590.24729914204m, 
                  531379639833.05774m
              );
              Console.WriteLine(string.Format(
                  "TEST-0...{0}",
                  result)
              );result = runner.driver(
                  -3707.427510963942m, -6671.335781753231m, -2780.4954870801926m, 
                  -287348660250.6971m
              );
              Console.WriteLine(string.Format(
                  "TEST-1...{0}",
                  result)
              );result = runner.driver(
                  8980.643174783816m, 3584.781688607942m, 2818.469507143102m, 
                  379127256148.80035m
              );
              Console.WriteLine(string.Format(
                  "TEST-2...{0}",
                  result)
              );result = runner.driver(
                  -2698.0187368852694m, -1004.7289573934537m, -9602.530725071243m, 
                  -108762980362.90225m
              );
              Console.WriteLine(string.Format(
                  "TEST-3...{0}",
                  result)
              );result = runner.driver(
                  8627.156664162168m, 9572.27618966978m, 4783.930377855004m, 
                  1650704251171.7974m
              );
              Console.WriteLine(string.Format(
                  "TEST-4...{0}",
                  result)
              );result = runner.driver(
                  -7316.329924623669m, -6591.043206581106m, -9760.465488363216m, 
                  -1966615618344.9363m
              );
              Console.WriteLine(string.Format(
                  "TEST-5...{0}",
                  result)
              );result = runner.driver(
                  7857.3846206400485m, 3671.761679299217m, 2534.5825334137794m, 
                  305534635263.3107m
              );
              Console.WriteLine(string.Format(
                  "TEST-6...{0}",
                  result)
              );result = runner.driver(
                  -6502.657905007728m, -1412.2240121470609m, -6135.238350044512m, 
                  -235411379188.32523m
              );
              Console.WriteLine(string.Format(
                  "TEST-7...{0}",
                  result)
              );result = runner.driver(
                  4468.400513325576m, 2272.1999139470304m, 4753.075799180736m, 
                  201639162973.6474m
              );
              Console.WriteLine(string.Format(
                  "TEST-8...{0}",
                  result)
              );result = runner.driver(
                  -7231.864791620428m, -8036.087711033032m, -6456.263512521035m, 
                  -1567753314543.6833m
              );
              Console.WriteLine(string.Format(
                  "TEST-9...{0}",
                  result)
              );
          }
      }
  }
  
source_py: def program_calculate_volume_ellipsoid(r1, r2, r3):
      return ((((1.33 * math.pi) * r1) * r2) * r3)
source_cpp: float program_calculate_volume_ellipsoid(float r1, float r2, float r3) {
    float pi = 3.14;
    return 1.33 * pi * r1 * r2 * r3;
  }