Question: Merely produce pseudocode using algorithm rules.for c++ 2. (5 points) You're planning a ski trip for later this semester! You want to know how much
Merely produce pseudocode using algorithm rules.for c++
2. (5 points) You're planning a ski trip for later this semester! You want to know how much snow each Colorado resort will have by that time. Write an algorithm to estimate the number of inches of snow Breckenridge, Vail, and Copper Mountain will have after a certain number of days ( x ) and display the output. x will be taken as a user input. Currently, there are 28 inches in Breckenridge, 33 inches at Vail, and 55 at Copper Mountain. The resorts have provided us with the snowfall and melt rate predictions per day (mentioned below) to come up with an accurate estimation. Assume these rates stay the same for all future days. The rates do not depend on the current number of inches at each resort. Hint: The calculated snow depth cannot be negative. Resort Snowfall rate (inches/day) Melt rate (inches/day) Breckenridge 15 4 Vail 11 7 Copper Mountain 3 2 --- Sample run - 0 How many days in the future would you like a prediction for? 10 Breckenridge will have 138 inches, Vail will have 73 inches, and Copper Mountain will have 65 inches
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
