Set an Event Ticket Price
Write get_ticket_price(age, is_student). Ages under 5 are free; ages 5 through 17 cost Rs. 6; adults who are students pay Rs. 8; other adults pay Rs. 12. Age is a non-negative integer.
Examples
[3,false]0
Write get_ticket_price(age, is_student). Ages under 5 are free; ages 5 through 17 cost Rs. 6; adults who are students pay Rs. 8; other adults pay Rs. 12. Age is a non-negative integer.
[3,false]0Optional website statistics, Google Analytics/Clarity and advertising (Meta/Google) help measure and support this free site. Your choice does not limit learning. Privacy policy.
These services may use cookies and receive browsing and device information. Change your choice later from the Privacy Policy page.