title: Program For Surface Area Of Octahedron
signature: function program_for_surface_area_of_octahedron(side)
test_code: using Printf
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  function validate_solution(actual, expected)
      return abs(actual - expected) < 1e-09
  end
  
  function driver(side, expected)
      try
  
          if validate_solution(PLACEHOLDER_FN_NAME(side), expected)
              return "PASSED";
          end
          return "FAILED";
      catch exception_obj
          return string(Base.typename(typeof(exception_obj)).wrapper);
      end
  end
  
  function main()
      
      result = driver(1449.255716877097, 7275798.574924052);
      @printf("TEST-0...%s\n",result);
      
      result = driver(-8772.104874265995, 266562009.34357828);
      @printf("TEST-1...%s\n",result);
      
      result = driver(2948.419328234334, 30114046.875937637);
      @printf("TEST-2...%s\n",result);
      
      result = driver(-1184.220109553511, 4857977.358664159);
      @printf("TEST-3...%s\n",result);
      
      result = driver(7422.825800698956, 190866258.51879707);
      @printf("TEST-4...%s\n",result);
      
      result = driver(-5808.280006171851, 116865336.10679008);
      @printf("TEST-5...%s\n",result);
      
      result = driver(829.8963781665169, 2385823.7719733207);
      @printf("TEST-6...%s\n",result);
      
      result = driver(-7368.438572511732, 188079541.63799432);
      @printf("TEST-7...%s\n",result);
      
      result = driver(5572.033890611617, 107551908.5552799);
      @printf("TEST-8...%s\n",result);
      
      result = driver(-3998.9441642787706, 55396369.52612884);
      @printf("TEST-9...%s\n",result);
      
  end
  
  main()
source_py: def program_for_surface_area_of_octahedron(side):
      return ((2 * math.sqrt(3)) * (side * side))
source_cpp: double program_for_surface_area_of_octahedron(double side) {
    return ( 2 * ( sqrt ( 3 ) ) * ( side * side ) );
  }