diff options
| author | jacobdw22 <[email protected]> | 2022-11-28 19:32:25 -0800 |
|---|---|---|
| committer | jacobdw22 <[email protected]> | 2022-11-28 19:32:25 -0800 |
| commit | 8c551bed4ce226c19d299bb953e802b9bc52b8c2 (patch) | |
| tree | 3af01d6532c3ff9d697bc3d6a843ddbd245465fe | |
| parent | Added average cost per person (diff) | |
| download | cst116-lab3-jacobdw22-8c551bed4ce226c19d299bb953e802b9bc52b8c2.tar.xz cst116-lab3-jacobdw22-8c551bed4ce226c19d299bb953e802b9bc52b8c2.zip | |
Slight edits
| -rw-r--r-- | BlankConsoleLab/cst116-lab3-wilson.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BlankConsoleLab/cst116-lab3-wilson.cpp b/BlankConsoleLab/cst116-lab3-wilson.cpp index 3377a84..5e77187 100644 --- a/BlankConsoleLab/cst116-lab3-wilson.cpp +++ b/BlankConsoleLab/cst116-lab3-wilson.cpp @@ -205,7 +205,7 @@ void PrintTotalsAndSummary(ofstream& outFile, int totalRecords, int psgr[], int // To screen cout << "\n\t** People Transported: " << NumPsgr(psgr, num_psgr, totalRecords) - << " **\n"; //Prints the total records to the screen + << " **\n"; //Prints the total people transported to the screen cout << "\n\t** Total Paid (rounded down to nearest dollar): " << TotalPaid(fare, toll, total_fare, totalRecords) << " **\n"; //Prints the total paid (all fares and tolls) to the screen @@ -217,7 +217,7 @@ void PrintTotalsAndSummary(ofstream& outFile, int totalRecords, int psgr[], int // To file outFile << "\n\t** People Transported: " << NumPsgr(psgr, num_psgr, totalRecords) - << " **\n"; //Prints the total records to the out file + << " **\n"; //Prints the total people transported to the out file outFile << "\n\t** Total Paid (rounded down to nearest dollar): " << TotalPaid(fare, toll, total_fare, totalRecords) << " **\n"; //Prints the total paid (all fares and tolls) to the out file |