In: Computer Science
*I was given the following problem to make a C program*
You are a programmer at Disney World. You need to create a program that will allow people to choose fast passes for three different attractions.
1. Space mountain
2. Haunted Mansion
3. Pirates of the Caribbean
The fast passes are given out in 15 minute increments from 9am - 5pm Sunday-Saturday. The user can only obtain three fast passes per day - you must be able to tell the user if they have too many requests.
**Haunted Mansion is closed on Friday and Saturday from 4pm-5pm because of fireworks.
**Space Mountain is down for maintenance on Wednesday from 9am-12pm.
Disney allows you to reserve access to select Walt Disney World theme park attraction , entertainment in advance. There is no additional cost to use FastPass+ service―it is included with your theme park admission.
To access FastPass+ service before you arrive, you must have either:
Once you’ve registered online and linked your park admission, you can select from a list of experiences and times for your designated party. At the park, check in at FastPass+ entrances during the indicated time, with little or no wait. FastPass+ selections may also be made same-day at a \in the theme park or using the mobile app, depending on availability.
For a single theme park per day, you can make up to 3 FastPass+ selections in advance either online or using the mobile app and you may change or cancel your selections any time. You can also get assistance from the Lobby Concierge at your Walt Disney World Resort hotel or at a FastPass+ kiosk in any of the parks.
Note that kiosks allow FastPass+ selections only for the park where the kiosk is located, but you can view and cancel any of your FastPass+ selections, regardless of location.
Once you redeem your initial set of FastPass+ selections (or the last arrival window has passed), you can make another FastPass+ selection for the same day at an in-park kiosk or on your mobile device, up to park closing. After you redeem the additional FastPass+ pick, you can return to a kiosk to make more selections (one at a time), subject to availability.
If your ticket includes a Park Hopper Option, after you use your initial FastPass+ selections at the first park, you’ll be able to make additional FastPass+ selections (one at a time) at a kiosk or using the mobile app at the second park you visit that day, up to park closing.
For a greater range of choices, we recommend you make FastPass+ selections early. If you prefer to be spontaneous, all attractions and Character Greetings provide standby entrances so you can decide as you go.
Valid theme park admission required. FastPass+ attractions and entertainment experiences, the number of selections you can make and available arrival windows are limited. Certain MyMagic+ features and benefits require online registration.