Question: This for a program in C++: Write a program that can be used by a ski resort to keep track of local snow conditions for
This for a program in C++:
Write a program that can be used by a ski resort to keep track of local snow conditions for one week. Create a class that has 2 seven-element arrays. The first array will hold a date and the second array will hold 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 seven base snow depths. The program should then sort the data in ascending order by base depth and display the results.
Here is a sample report: Snow Report December 12 - 18 Date Base 13 42.3 12 42.5 14 42.8 15 43.1 18 43.1 16 43.4 17 43.8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
