We want to track weather conditions during the past year and have designated each day as either
Rainy ('R')
Flooding ('F')
Cloudy ('C')
Sunny ('S')
Windstorm ('W')
Write a program that stores this information in s 12x30 array of characters, where the row indicates the month and the column indicates the day of the month. Note no data is being captured for the 31st of any month since 31 is an unlucky number.
This program will read the data into the array from a file called RainOrShine.txt. From this array of data it you should create a 2D array with totals by month of each type and then a report that displays,
Totals for each type by month month
Totals for the whole twelve month period,
The totals by month should then be sorted once for each type and printed to show in sorted order from largest to smallest the month and the amount. Use a sort algorithm that you write not any of the algorithm library sorts.
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference
and should not be submitted as is. We are not held liable for any misuse of the solutions.
Please see the frequently asked questions page
for further questions and inquiries.
Kindly complete the form.
Please provide a valid email address and we will get back to you within 24 hours.
Payment is through PayPal, Buy me a Coffee
or Cryptocurrency.
We are a nonprofit organization however we need funds to keep this organization operating
and to be able to complete our research and development projects.