Final answer:
An Intro to Business Programming program requires development to recommend restaurants based on customer dietary preferences, such as vegetarian, vegan, and gluten-free options. The program should query the customer and match their requirements against a preset list of restaurants, each labeled with available dietary accommodations.
Step-by-step explanation:
Restaurant Recommendation Program
The scenario presented is about creating a program for an Intro to Business Programming course that assists customers in selecting restaurants based on dietary preferences. For example, a customer requiring options for a party with dietary restrictions such as vegetarian, vegan, or gluten-free members will receive recommendations accordingly. To solve this, the program should ask users about dietary requirements and cross-reference these with restaurant data to provide suitable suggestions. The following are the restaurant options available, labeled with their respective dietary accommodations:
- Joe's Gourmet Burgers - Vegetarian: No, Vegan: No, Gluten-Free: No
- Main Street Pizza Company - Vegetarian: Yes, Vegan: No, Gluten-Free: Yes
- Corner Café - Vegetarian: Yes, Vegan: Yes, Gluten-Free: Yes
- Mama's Fine Italian - Vegetarian: Yes, Vegan: No, Gluten-Free: No
- The Chef's Kitchen - Vegetarian: Yes, Vegan: Yes, Gluten-Free: Yes
Based on the customer's answers:
Vegan: no
Vegetarian: yes
Gluten-Free: yes
Recommended restaurants are:
- Main Street Pizza Company
- Corner Café
For customers that are both vegetarian, vegan, and gluten-free, the program will recommend:
- Corner Café
- The Chef's Kitchen