Question: Need JAVA code for this question 18. Restaurant Selector You have a group of friends coming to visit for your high school reunion, and you
Need JAVA code for this question
18. Restaurant Selector You have a group of friends coming to visit for your high school reunion, and you want to take them out to eat at a local restaurant. You arent sure if any of them have dietary restrictions, but your restaurant choices are as follows:
Joes 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
Mamas Fine Italian Vegetarian: Yes, Vegan: No, Gluten-Free: No
The Chefs Kitchen Vegetarian: Yes, Vegan: Yes, Gluten-Free: Yes
Write a program that asks whether any members of your party are vegetarian, vegan, or gluten-free, and then displays only the restaurants that you may take the group to. Here is an example of the programs output: Is anyone in your party a vegetarian? yes [Enter] Is anyone in your party a vegan? no [Enter] Is anyone in your party gluten-free? yes [Enter] Here are your restaurant choices: Main Street Pizza Company Corner Cafe The Chef's Kitchen Here is another example of the programs output: Is anyone in your party a vegetarian? yes [Enter] Is anyone in your party a vegan? yes [Enter] 295 Is anyone in your party gluten-free? yes [Enter] Here are your restaurant choices: Corner Cafe The Chef's Kitchen

Ratings will be given to the user with the correct answer, Thank you!
18. Restaurant Selector You have a group of friends coming to visit for your high school reunion, and you want to take them out to eat at a local restaurant. You aren't sure if any of them have dietary restrictions, but your restaurant choices are as follows: 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 Write a program that asks whether any members of your party are vegetarian, vegan, or gluten-free, and then displays only the restaurants that you may take the group to. Here is an example of the program's output Is anyone in your party a vegetarian? yes [Enter Is anyone in your party a vegan? no [Enter Is anyone in your party gluten-free? yes [Enter] Here are your restaurant choices: Main Street Pizza Company Corner Cafe The Chef's Kitchen Here is another example of the program's output Is anyone in your party a vegetarian? yes [Enter] Is anyone in your party a vegan? yes [Enter) 295 Is anyone in your party gluten-free? yes [Enter] Here are your restaurant choices: Corner Cafe The Chef's Kitchen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
