summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5e77187..9dd8a4f 100644
--- a/BlankConsoleLab/cst116-lab3-wilson.cpp
+++ b/BlankConsoleLab/cst116-lab3-wilson.cpp
@@ -211,7 +211,7 @@ void PrintTotalsAndSummary(ofstream& outFile, int totalRecords, int psgr[], int
<< " **\n"; //Prints the total paid (all fares and tolls) to the screen
cout << "\n\t** Average Cost Per Person(Rounded down to nearest dollar: "
<< TotalPaid(fare, toll, total_fare, totalRecords) / NumPsgr(psgr, num_psgr, totalRecords)
- << "**\n"; //Prints the average cost per person to the screen
+ << " **\n"; //Prints the average cost per person to the screen
cout << "\t\t The End \n"; //Prints "The End" to the screen
// To file
@@ -223,6 +223,6 @@ void PrintTotalsAndSummary(ofstream& outFile, int totalRecords, int psgr[], int
<< " **\n"; //Prints the total paid (all fares and tolls) to the out file
outFile << "\n\t** Average Cost Per Person(Rounded down to nearest dollar: "
<< TotalPaid(fare, toll, total_fare, totalRecords) / NumPsgr(psgr, num_psgr, totalRecords)
- << "**\n"; //Prints the average cost per person to the out file
+ << " **\n"; //Prints the average cost per person to the out file
outFile << "\t\t The End \n"; //Prints "The End" to the out file
} \ No newline at end of file