Question: Using Microsoft Visual Studio 2017 Write a C++ program to calculate to analyze the data from the number of visitors to Sleeping Bear Dunes in

Using Microsoft Visual Studio 2017 Write a C++ program to calculate to analyze the data from the number of visitors to Sleeping Bear Dunes in Michigan in 2015.

Requirements

1. Read the data from the Months.txt and Visitors.txt files. The text files are provided for you to download. The data was obtained from the National Park Service website.

2. Design the program so the user enters a menu item and the following is displayed

a. Display the chart below.

b.Totals and display all visitors to the dunes.

c. Total and display each month (add across the rows (except the Total Overnight Stays).

d. Display the percentage of Total Overnight Stays compared to total visits. (Total Overnight Stays/(Recreation Visitors + Total Overnight Stays)

3. Design the program so the user can continuously enter a menu item and terminate the program when done.

Visitors.txt file includes:

6340 27 34 6 67 12191 7 7 2 16 11548 14 24 10 47 36053 323 231 27 581 74361 2764 1890 1101 5755 256462 4879 1363 2727 8970 483291 13797 8823 7038 29658 358885 13100 10346 7816 3162 141297 8945 10492 2290 21728 119175 3193 6164 281 9638 22377 337 629 22 988 13653 24 20 7 51

Months.txt file includes:

January February March April May June July August September October November December 

Sample Output :

Using Microsoft Visual Studio 2017 Write a C++ program to calculate to

analyze the data from the number of visitors to Sleeping Bear Dunes

Enter your option number 1 Month Rec Tent RV Back T Overnight Visitors Campers Campers country Stays 34 7 24 231 1890 1363 8823 358885 13100 1346 10492 6164 629 20 27 7 14 323 2764 4879 13797 67 16 47 581 5755 8970 29658 3162 21728 9638 988 51 6 January February March April May June 6348 12191 11548 36053 74361 256462 483291 10 27 1101 2727 7038 7816 2290 281 August September October November December 141297 119175 22377 13653 8945 3193 337 7 1 Display the chart 2 Total visitors to the dunes 3 Monthly totals 4 Percentage Overnight stays of all visitors for 2015 5 Exit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!