Question: Problem: Write a program that can be used by a ski resort to keep track of the local snow conditions for one week. It should
Problem: Write a program that can be used by a ski resort to keep track of the local snow conditions for one week. It should have seven-element array of structures or class objects, where each structure or object holds a date and the number of inches of snow in the base on that date. The program should have the user input the name of the month, the starting and ending date of the seven-day period being measured, and then the seven base snow depths. The program should then sort the data in the ascending order by base depth and display the results (two functions one for sorting and one for displaying the results). Here is the beginning of a sample report. Snow Report December 12-18n C++, it should Date 13 e Boahave either a Base 42.3 12 4.8class or structure With comments
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
