diff options
| author | jacobdw22 <[email protected]> | 2022-11-28 19:32:53 -0800 |
|---|---|---|
| committer | jacobdw22 <[email protected]> | 2022-11-28 19:32:53 -0800 |
| commit | 0daeff08717139e4eaf656a3a94f2dbe1cdde7a2 (patch) | |
| tree | 7672ba1820627dce016b902db7a914d7834401e6 | |
| parent | Slight edits (diff) | |
| download | cst116-lab3-jacobdw22-0daeff08717139e4eaf656a3a94f2dbe1cdde7a2.tar.xz cst116-lab3-jacobdw22-0daeff08717139e4eaf656a3a94f2dbe1cdde7a2.zip | |
Very slight edit
| -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 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 |