diff options
| author | Abdullah Havaldar <[email protected]> | 2022-11-29 17:53:32 -0800 |
|---|---|---|
| committer | Abdullah Havaldar <[email protected]> | 2022-11-29 17:53:32 -0800 |
| commit | e86c22aff121c15fd9f203e08c5242075018e1a2 (patch) | |
| tree | b931199b697a25e033ddb8fc22ff9baa11f291f0 | |
| parent | inside output comment (diff) | |
| download | cst116-lab3-abd00l4h-e86c22aff121c15fd9f203e08c5242075018e1a2.tar.xz cst116-lab3-abd00l4h-e86c22aff121c15fd9f203e08c5242075018e1a2.zip | |
inside iterator comment
| -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; |