diff options
Diffstat (limited to 'BlankConsoleLab/CST116-Lab3-Havaldar.cpp')
| -rw-r--r-- | BlankConsoleLab/CST116-Lab3-Havaldar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BlankConsoleLab/CST116-Lab3-Havaldar.cpp b/BlankConsoleLab/CST116-Lab3-Havaldar.cpp index dcd1fed..1e06bf6 100644 --- a/BlankConsoleLab/CST116-Lab3-Havaldar.cpp +++ b/BlankConsoleLab/CST116-Lab3-Havaldar.cpp @@ -70,6 +70,8 @@ int main() << setw(20) << toll << setw(20) << total << setw(20) << setprecision(3) << cpm << endl; + + //add to totals count++; totalPpl += ppl; totalCost += total; |