Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+Where does the focus of labor relations lie? Is it collective

Answered: 1 week ago

Question

=+With whom does the firm have to negotiate?

Answered: 1 week ago