Question: Using basic c++ Write a separate code for each of the following: Restaurant selector Boolean Find out the food choices of people in a group

Using basic c++ Write a separate code for each of the following:

Restaurant selector Boolean Find out the food choices of people in a group and list them the restaurants they can go to.

Use logical operators

Choices: Vegetarian, Vegan and Gluten free List of restaurants based on food choices

All food choices: Corner Cafe

Chef's Kitchen

No vegetarian No vegan and No glutenFree - Joe's Gourmet Burgers

vegetarian, vegan and not glutenFree - India Kitchen

not vegan, vegetarian, glutenFree - Main Street Pizza

vegetarian, Not vegan and not glutenFree - Mama's Fine Italian

2. Chinese Zodiac Problem. Every 12 years the Chinese calendar is assigned one animal *Switch* Input: Enter a year Calculations: Use a switch statement to switch based on the input using an operation.

If it is 0 Monkey, 1 rooster, 2 dog, 3 pig, 4 rat, 5 OX, 6 Tiger, 7 rabbit, 8 dragon, 9 snake, 10 horse, 11 sheep

Output: The year (xxxx eg:2018) is animal (xxxx eg Dog) year

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!