Web Development Exercise
Create a Movies class that determines the cost of a ticket to a cinema,
based on the moviegoer’s age. Assume that the cost of a full-price_x000D_
ticket is $10. Assign the age to a private data member. Use a public_x000D_
member function to determine the ticket price, based on the follow-_x000D_
ing schedule:_x000D_
Age Price_x000D_
Under 5 Free_x000D_
5 to 17 Half price_x000D_
18 to 55 Full price_x000D_
Over 55 $2 off
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


