summaryrefslogtreecommitdiff
path: root/hw2/snowfall.cpp
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2022-09-09 15:22:01 -0600
committerGitHub <noreply@github.com>2022-09-09 15:22:01 -0600
commite2ab34e60f544d9d6902fe3eb8e0947009234955 (patch)
tree0a93bb11a63e8dc62663925f7f90f41576229dc2 /hw2/snowfall.cpp
parent6ae81ee58a1d2ffa8f8f5fe9dc45a8f064c31c4d (diff)
added commentsHEADmaster
Diffstat (limited to 'hw2/snowfall.cpp')
-rw-r--r--hw2/snowfall.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw2/snowfall.cpp b/hw2/snowfall.cpp
index 2d54a90..5bbff8a 100644
--- a/hw2/snowfall.cpp
+++ b/hw2/snowfall.cpp
@@ -12,6 +12,7 @@ int main() {
cout << "How many days in the future would you like a prediction for?\n";
cin >> num_days;
+ // Takes initial snow, adds the expected snowfall and subtracts the expected melted snow
breck = 25+(10*num_days)-(5*num_days);
vail = 28+(14*num_days)-(2*num_days);
copper = 40+(5*num_days)-(3*num_days);