diff options
| author | Abdullah Havaldar <[email protected]> | 2022-11-29 17:53:49 -0800 |
|---|---|---|
| committer | Abdullah Havaldar <[email protected]> | 2022-11-29 17:53:49 -0800 |
| commit | da1beff34a0ac2e81cf557a916f50a4edf80055e (patch) | |
| tree | 30e3bc649cc8221cec27179da16078ae8c3bde89 | |
| parent | inside iterator comment (diff) | |
| download | cst116-lab3-abd00l4h-da1beff34a0ac2e81cf557a916f50a4edf80055e.tar.xz cst116-lab3-abd00l4h-da1beff34a0ac2e81cf557a916f50a4edf80055e.zip | |
average comment
| -rw-r--r-- | BlankConsoleLab/CST116-Lab3-Havaldar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BlankConsoleLab/CST116-Lab3-Havaldar.cpp b/BlankConsoleLab/CST116-Lab3-Havaldar.cpp index 1e06bf6..5597f45 100644 --- a/BlankConsoleLab/CST116-Lab3-Havaldar.cpp +++ b/BlankConsoleLab/CST116-Lab3-Havaldar.cpp @@ -77,6 +77,7 @@ int main() totalCost += total; } + //calculate average avg = totalCost / totalPpl; cout << " " << endl; |