summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdullah Havaldar <[email protected]>2022-11-29 17:53:14 -0800
committerAbdullah Havaldar <[email protected]>2022-11-29 17:53:14 -0800
commit5e77aa98f69d1513c25d1adf92f096e393687381 (patch)
tree4308379a2177cf623d94764647ca8881834906ef
parentinside comments (diff)
downloadcst116-lab3-abd00l4h-5e77aa98f69d1513c25d1adf92f096e393687381.tar.xz
cst116-lab3-abd00l4h-5e77aa98f69d1513c25d1adf92f096e393687381.zip
inside output comment
-rw-r--r--BlankConsoleLab/CST116-Lab3-Havaldar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/BlankConsoleLab/CST116-Lab3-Havaldar.cpp b/BlankConsoleLab/CST116-Lab3-Havaldar.cpp
index a43f352..dcd1fed 100644
--- a/BlankConsoleLab/CST116-Lab3-Havaldar.cpp
+++ b/BlankConsoleLab/CST116-Lab3-Havaldar.cpp
@@ -60,6 +60,7 @@ int main()
double total = fare + toll;
//take price per mile for each row
double cpm = total / dis;
+ //output the elements in the file and the calculated vartiables
cout << setw(20) << count
<< setw(20) << pick
<< setw(20) << drop