title: Calculate Volume Dodecahedron
signature: double calculateVolumeDodecahedron(int side) {
test_code: #include <algorithm>
  #include <assert.h>
  #include <cstdlib>
  #include <iostream>
  #include <map>
  #include <set>
  #include <string>
  #include <tuple> 
  #include <unordered_map>
  #include <vector>
  #include <math.h>
  #include <cmath>
  #include <bits/stdc++.h>
  #include <numeric>
  #include <functional>
  
  using namespace std;
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(double actual, double expected){
      return abs(actual - expected) < 1e-09;
  }
  
  string driver(int side, double expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(side), expected)){
              return "PASSED";
          }
          return "FAILED";
      }
      catch (const std::overflow_error& exception_obj)
      {
          return typeid(exception_obj).name();
      }
      catch (const std::runtime_error& exception_obj)
      {
          return typeid(exception_obj).name();
      }
      catch (const std::exception& exception_obj)
      {
          return typeid(exception_obj).name();
      }
      catch (...)
      {
          return "UNK_ERROR";
      }
  }
  
  int main() {
      string result = "";
  
      result = driver(56, 1345766.2993890555); 
      cout << "TEST-" << 0 << "..."
           <<  result
           << "\n";
  
      result = driver(73, 2981083.5487053124); 
      cout << "TEST-" << 1 << "..."
           <<  result
           << "\n";
  
      result = driver(22, 81596.89069273109); 
      cout << "TEST-" << 2 << "..."
           <<  result
           << "\n";
  
      result = driver(10, 7663.118960624633); 
      cout << "TEST-" << 3 << "..."
           <<  result
           << "\n";
  
      result = driver(84, 4541961.260438062); 
      cout << "TEST-" << 4 << "..."
           <<  result
           << "\n";
  
      result = driver(20, 61304.95168499706); 
      cout << "TEST-" << 5 << "..."
           <<  result
           << "\n";
  
      result = driver(51, 1016520.3932458181); 
      cout << "TEST-" << 6 << "..."
           <<  result
           << "\n";
  
      result = driver(91, 5774704.218276865); 
      cout << "TEST-" << 7 << "..."
           <<  result
           << "\n";
  
      result = driver(10, 7663.118960624633); 
      cout << "TEST-" << 8 << "..."
           <<  result
           << "\n";
  
      result = driver(83, 4381671.801138677); 
      cout << "TEST-" << 9 << "..."
           <<  result
           << "\n";
  
      return 0;
  }
source_py: def calculate_volume_dodecahedron(side):
      return (((15 + (7 * math.sqrt(5))) / 4) * math.pow(side, 3))
source_cpp: double calculate_volume_dodecahedron(int side) {
    return ( ( ( 15 + ( 7 * ( sqrt ( 5 ) ) ) ) / 4 ) * ( pow ( side, 3 ) ) );
  }