Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

My family has decided to go into the restaurant business. They now own 4 restaurants and need help with reservations. Please create the pseudocode and

My family has decided to go into the restaurant business. They now own 4 restaurants and need help with reservations. Please create the pseudocode and then code, debug and create the submittal files for the following restaurant reservation service. You must use the switch statement to drive the menu and you must use if statements inside each case to validate the user's input. Programming Requirements: Display a menu of the following restaurants:

1. Tacos De Mama

2. Burritos De Papa

3. Tostadas De Hermana

4. Enchiladas De Hermano

5. Exit Reservation Menu

Prompt for and input the user's choice. For each menu option chosen (except 5), do the following. display the restaurant's unique "special dessert" (you can make that up), prompt for and input the user's last name, prompt for and input their arrival time (you may assume only on the hour and always at night) if their arrival time is a negative number, then give an error message, prompt and input again prompt for and input how many people are in their party. If the number of people in their party is negative then give an error message, prompt and input again. If there are more than 5 people in their party display a message that their tip will be calculated as part of the bill. Wish them a nice evening and mention the restaurant and the time in which they will be dining.

Using Visual Basic C++ / Only using If statements and switch

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions