Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++ program to calculate to analyze the data from the number of visitors to the national park. Requirements 1. Read the data from

image text in transcribed

Write a C++ program to calculate to analyze the data from the number of visitors to the national park. Requirements

1. Read the data from the Months.txt and Visitors.txt files into a 1D array and a 2D array. The text files are provided for you to download. The data was obtained from the National Park Servicewebsite.

2. Design the program so the user enters a menu item and the following isdisplayed a. Display the table b. Total and display all recreational visitors to the park. c. By month show the percentage of visitors who are recreational. To calculate this add the recreational visitors and divide by the total recreational and nonrecreational visitors. Display the number to 2 digits.

3. Place the code for each of the above options in functions. There should be 3 functions. Send the arrays to the function.

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

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

14504 14220 24121 86639 198549 400675 616297 651823 483717 344490 49002 11711 2700 2310 4000 7560 2400 13518 35925 65526 67869 48726 28089 6020 284 4796 7876 6000 1500 2973 2828 1220313280 36702 39453 6000 1500 934 1289 384 6000 1500 6000 1500 6000 1500 4500 1500 600 600 600 600 600 600 14504 14220 24121 86639 198549 400675 616297 651823 483717 344490 49002 11711 2700 2310 4000 7560 2400 13518 35925 65526 67869 48726 28089 6020 284 4796 7876 6000 1500 2973 2828 1220313280 36702 39453 6000 1500 934 1289 384 6000 1500 6000 1500 6000 1500 4500 1500 600 600 600 600 600 600

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications Dexa 2021 Workshops Biokdd Iwcfs Mlkgraphs Al Cares Protime Alsys 2021 Virtual Event September 27 30 2021 Proceedings

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Atif Mashkoor ,Johannes Sametinger ,Anna Fensel ,Jorge Martinez-Gil ,Lukas Fischer

1st Edition

3030871002, 978-3030871000

More Books

Students also viewed these Databases questions