Question: This week's Lab is: 1. The Python Rocks amusement park has a tiered admission policy: Height of Guest Tier Name Cost of Ticket less than
This week's Lab is:
1. The Python Rocks amusement park has a tiered admission policy:
| Height of Guest | Tier Name | Cost of Ticket |
|---|---|---|
| less than 30 inches | Guppy | free |
| 30 inches or more, but less than 36 inches | Pollywog | $2 |
| 36 inches or more, but less than 42 inches | Apprentice | $5 |
| 42 inches or more, but less than 48 inches | Explorer | $8 |
| 48 inches or more | Adventurer | $10 |
Write a program which asks the user to enter the height of the guest, then displays name of the correct tier and the cost of the ticket.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
