Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1 Ticket discount ( if statements / elif ) Tell the user that tickets cost 1 4 dollars. Then ask the user his age.

Part 1 Ticket discount (if statements/elif)
Tell the user that tickets cost 14 dollars. Then ask the user his age. If the user's age is <18 tell them that they can get a 10 dollar admission for being a minor, If the users age is >=65, tell them that they can get a 10 dollar admission for being a senior citizen, lastly let them know if they have to pay full price.
Alternative: Do I have enough? User wants to buy your product ask him how much money he has, calculate the price of your product plus its 8% sales tax and then tell him if he can buy it or not and if he can then congratulate him on his purchase and let him know how much money he has left now

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

How Do I Use A Database Research Tools You Can Use

Authors: Laura La Bella

1st Edition

1622753763, 978-1622753765

More Books

Students also viewed these Databases questions

Question

How do I sort by date uploaded when searching for a document?

Answered: 1 week ago