15 Reputation Points
Ranked #2K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #107.49K
Re: #include <iostream> #include <cmath> using namespace std; double calcCharges(int hours){ double totalcharges; if(hours<=19.0){ totalcharges = (hours - 1) * 0.5 + 1; }else{ totalcharges = 10.0; } return totalcharges; } void calctotal(double sum, float all[], int arraysize){ int a; system ("CLS"); for( a = 0; a < arraysize; a++){ if(all[a] … |