Write a C++ program that reads information about average monthly temperature in the different regions of the Sultanate from the year 2000 to 2010 from an input file called OmanTemp where the data is organized as a two dimensional matrix for each of the years from 2000 to 2010 (see the sample input file). The information should be stored as a three dimensional array where the first dimension represent the region, the second represents the month, and the third represents the year.
The program should display a menu to the user with options for the type of report to be displays:
R: Temperature by Region (Muscat, Batina, Musandam, Dhofar, Wusta, Sharqiya, Dhahra, Dakhilya)
M: Temperature by Month
Y: Temperature by Year
Once a user selects a type of report, the program will ask the user to specify the other dimension as follows:
If the user selects the R the program displays:
Select a month or type all to get a report for all months
Select a year to type all to get a report for all years
If the user selects the M the program displays:
Select a region or type all to get a report for all regions
Select a year to type all to get a report for all years
If the user selects the Y the program displays
1
Expert's answer
2011-06-01T12:33:31-0400
Your question requires a lot of work and cannot be done for free. Submit it as an assignment to our control panel and we'll assist you.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment