summaryrefslogtreecommitdiff
path: root/BlankConsoleLab
diff options
context:
space:
mode:
Diffstat (limited to 'BlankConsoleLab')
-rw-r--r--BlankConsoleLab/cst116-lab3-wilson.cpp4
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