From e86c22aff121c15fd9f203e08c5242075018e1a2 Mon Sep 17 00:00:00 2001 From: Abdullah Havaldar Date: Tue, 29 Nov 2022 17:53:32 -0800 Subject: inside iterator comment --- BlankConsoleLab/CST116-Lab3-Havaldar.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3