summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacobdw22 <[email protected]>2022-11-29 18:51:15 -0800
committerjacobdw22 <[email protected]>2022-11-29 18:51:15 -0800
commit675346045e43765c6e6a5e8eb2a0d019e9ec7070 (patch)
treef7243bde6d52212adb373966edf1ea98f5f43946
parentChanged Large and Small Results.txt files to account for the change to float ... (diff)
downloadcst116-lab3-jacobdw22-675346045e43765c6e6a5e8eb2a0d019e9ec7070.tar.xz
cst116-lab3-jacobdw22-675346045e43765c6e6a5e8eb2a0d019e9ec7070.zip
Lab basically completeHEADmaster
-rw-r--r--BlankConsoleLab/cst116-lab3-wilson.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/BlankConsoleLab/cst116-lab3-wilson.cpp b/BlankConsoleLab/cst116-lab3-wilson.cpp
index c6e97b7..8a24709 100644
--- a/BlankConsoleLab/cst116-lab3-wilson.cpp
+++ b/BlankConsoleLab/cst116-lab3-wilson.cpp
@@ -33,7 +33,7 @@ void WriteOutputFile(ofstream& outFile, int pick[], int drop[], int
void PrintTotalsAndSummary(ofstream& out, int totalRecords, int psgr[], int num_psgr,
float fare[], float toll[], float total_fare); //Defines function that prints total records to screen and output file
int NumPsgr(int psgr[], int num_psgr, int totalRecords); //Defines function that calculates the number of passengers total
-float TotalPaid(float fare[], float toll[], float total_fare, int totalRecords); //Defines function that calculates the total paid
+float TotalPaid(float fare[], float toll[], float total_fare, int totalRecords); //Defines function that calculates the total paid
///////////////////////////// Main Function /////////////////////////////