Create a park class include data members such as name of


Problem

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.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create a park class include data members such as name of
Reference No:- TGS02645346

Expected delivery within 24 Hours