fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. double calculationA(char, double)
  5. {
  6. return 1.0;
  7. }
  8.  
  9. int main()
  10. {
  11. double units = 1.0;
  12. cout << "Cost savings $" << calculationA('a', units) - calculationA('b', units) << endl;
  13. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
Cost savings $0