There are a number of national and state parks available to tourists. Create a Park class. Include

Question:

There are a number of national and state parks available to tourists. Create a Park class. Include data members such as name of park, location, type of

(i.e., national, state, local) facility, fee, number of employees, number of visitors recorded for the past 12 months, and annual budget. Write separate instance methods that

a) return a string representing name of the park, the location and type of park;

b) return a string representing the name of the park, the location and facilities available;

c) compute cost per visitor based on annual budget and the number of visitors during the last 12 months; and

d) compute revenue from fees for the past year based on number of visitors and fee. Also include a ToString( ) method that returns all data members with appropriate labels. Create a second class to test your Park class.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: