Answer to Question #2646 in C++ for skymoon
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
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.
No comments. Be first!