Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Bidiya Amusement park has fixed ticket prices based on gender and age category of the customers. Age categories are: child (age less than 12years) and
Bidiya Amusement park has fixed ticket prices based on gender and age category of the customers. Age categories are: child (age less than 12years) and adult (more than or equal to 12years) If gender is female, then ticket price is 1 Omani rial for child and 2 Omani rials for adult and if gender is male then ticket price is 1.500 for child and 2.500 for adult. Read gender and age then using nested conditionals of python language, write a program to display the ticket price for the customer
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started