Question: programming in C# (MS Visual Studio) Create a class (create a separate file-Project -Add Class) Adventure rate Adventure Custom Premium Deluxe Rate 1000 1500 2000
programming in C# (MS Visual Studio)
Create a class (create a separate file-Project -Add Class) Adventure rate Adventure Custom Premium Deluxe Rate 1000 1500 2000 Use Enum for adventure types. Use Override ToString to display output with string interpolation. Only pass into the class the data the class needs. Class must do all the processing/calculations. In the class throw an exception if the number of people is zero, less than zero, or greater than six. AARP or AAA member receive a 10% discount. If the guest checks in June, July, or August (summer), increase adventure rate charge by $500 (add to rate not total). Add 5% tax. Place 10-day restrictions on end date from start date. Since the days will include the first day, add one to the number of days. Premium Not Summer Adventure Discount Not Summer Adventure Name Tarzan Type of adventure: Premium 6 days at $1,500.00 is $9,000.00 Discount $0.00 Tax amount $450.00 Total amount due $9,450.00 Thank you Name Tarzan Type of adventure: Delux 6 days at $2,000.00 is $12,000.00 Discount $1,200.00 Tax amount $540.00 Total amount due $11,340.00 Thank you Summer Adventure Name Tarzan Type of adventure: Premium 4 days at $2,000.00 is $8,000.00 Discount $800.00 Tax amount $360.00 Total amount due $7,560.00 Thank you Phone Incorrect Number of people Tarzan Number of people: Error number of people not correct OK
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
