From e2ab34e60f544d9d6902fe3eb8e0947009234955 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 9 Sep 2022 15:22:01 -0600 Subject: added comments --- hw2/snowfall.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'hw2/snowfall.cpp') 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); -- cgit v1.2.3