Task: Write a script that will inform the user where they should go on vacation and how they should get there. Gather the information with prompts. Use the following table to drive the logic of your program:
Vacation Type | Destination |
Musical | New Orleans |
Tropical | Beach Vacation in Mexico |
Adventurous | Whitewater Rafting the Grand Canyon |
Group Size | Travel Suggestion |
1-2 | First Class |
3-5 | Helicopter |
6+ | Charter Flight |
Build Specifications:
Example run (user input in bold):
(prompt) What kind of trip would you like to go on,
musical, tropical, or adventurous? musical
(prompt) How many are in your group? 4
(console) Since you’re a group of 4 going on a musical
vacation, you should take a helicopter to New Orleans.
Another example run:
(prompt) What kind of trip would you like to go on,
musical, tropical, or adventurous? tropical
(prompt) How many are in your group? 8
(console) Since you’re a group of 8 going on a tropical
vacation, you should take a charter flight to a beach
vacation in Mexico