Question: Need JAVA code for this question. Ratings will be given to the user with the correct answer! 18. Restaurant Selector You have a group of

Need JAVA code for this question. Ratings will be given to the user with the correct answer!

Need JAVA code for this question. Ratings will be given to the

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!