diff options
| author | jacobdw22 <[email protected]> | 2022-11-29 18:51:15 -0800 |
|---|---|---|
| committer | jacobdw22 <[email protected]> | 2022-11-29 18:51:15 -0800 |
| commit | 675346045e43765c6e6a5e8eb2a0d019e9ec7070 (patch) | |
| tree | f7243bde6d52212adb373966edf1ea98f5f43946 /BlankConsoleLab/cst116-lab3-wilson.cpp | |
| parent | Changed Large and Small Results.txt files to account for the change to float ... (diff) | |
| download | cst116-lab3-jacobdw22-master.tar.xz cst116-lab3-jacobdw22-master.zip | |
Diffstat (limited to 'BlankConsoleLab/cst116-lab3-wilson.cpp')
| -rw-r--r-- | BlankConsoleLab/cst116-lab3-wilson.cpp | 2 |
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 ///////////////////////////// |