Create a series of menus to prompt the customer

Assignment Help Management Information Sys
Reference no: EM132110165

Problem

You meet a famous French chef. He recently opened a new restaurant, so he currently cannot afford to hire IT staff. Fortunately for him, he meets you and finds out that you are taking CMPSC 200. He hires you on the spot to create a menu system for him. C'est la vie!1

The entrée choices the chef has on his menu are:

Beef

Sole2

The beef entrée has the following starch choices:

Mashed potatoes

Smashed potatoes

The sole entrée has the following starch choices:

Baked potato

French fries3

Since the chef is low on funds, no matter what choice a customer chooses of entrée and starch, he or she will be served green beans as their vegetable.

The following desserts are available regardless of choice of entrée or starch:

Penn State Creamery Ice Cream

Cherry Pie

None (i.e. the customer does not want dessert)

Create a series of menus to prompt the customer for their dinner selections. A different menu should pop up at each stage: selection of the entrée, selection of the starch, and selection of the dessert (or lack thereof). Uses switches as your selection structures (i.e. do NOT use if statements).

Note that since the availability of starch selections is dependent on the choice of entrée, you should nest your starch menus and starch switches inside the entrée cases as appropriate; only the starches available with a particular entrée should display after the user has selected their entrée.

Since the choice of dessert is not dependent on the entrée or starch choices, you can simply include that menu and switch outside of (and after) your entrée and starch code.

Print the customer's selections to the Command Window. Emulate the formatting of this sample run (assuming the user selected sole, french fries, green beans, and that they did not want dessert):

The customer selected:
Sole, french fries, green beans, and no dessert.

A clever approach to printing the second line would be to use fprintf statements without the use of new lines (\n) until you reach the dessert portion of the code. Without the new lines, MATLAB will simply continue printing onto the same line.

Be careful with where you place blank spaces, however, so that the line formats nicely. If you take this suggested approach, you may find it easiest to have fprintf statements in each of your cases of your switches.

Reference no: EM132110165

Questions Cloud

Discuss the process of defining project scope : Discuss the process of defining project scope in more detail as a project progresses, going from information in a project charter to a project scope statement.
Compute the standard deviation at each day : Compute the 20 days moving average: avg(n) = avg(n-1)*factor + close of today*(1-factor). Compute the standard deviation at each day.
Develop a list of quality standards : Develop a list of quality standards or requirements related to meeting the stakeholder expectations described in the Running Case.
Calculates the projected annual outgoing costs : ITECH1100 Understanding the Digital Revolution Assignment - Page Limbo, Federation University Australia. Create a spreadsheet called operating_costs.xlsx
Create a series of menus to prompt the customer : Since the chef is low on funds, no matter what choice a customer chooses of entrée and starch, he or she will be served green beans as their vegetable.
What is your opinion about sqa plan : More project teams are having software quality assurance plan done when they develop projects.
Discuss about the clientserver model : In this project, you are asked to solve the readers and writers problem by using the clientserver model and a kind of communication facility.
Implementation of a wi-fi based home automation system : You can select one project from the list. You can also propose a project by yourself if you are keen to do it - Design and Implementation of a Wi-Fi Based Home
Perform the gauss elimination method : In this project, you will write the MATLAB code to perform the Gauss elimination method presented in class by completing the following steps:

Reviews

Write a Review

Management Information Sys Questions & Answers

  Information technology and the changing fabric

Illustrations of concepts from organizational structure, organizational power and politics and organizational culture.

  Case study: software-as-a-service goes mainstream

Explain the questions based on case study. case study - salesforce.com: software-as-a-service goes mainstream

  Research proposal on cloud computing

The usage and influence of outsourcing and cloud computing on Management Information Systems is the proposed topic of the research project.

  Host an e-commerce site for a small start-up company

This paper will help develop internet skills in commercial services for hosting an e-commerce site for a small start-up company.

  How are internet technologies affecting the structure

How are Internet technologies affecting the structure and work roles of modern organizations?

  Segregation of duties in the personal computing environment

Why is inadequate segregation of duties a problem in the personal computing environment?

  Social media strategy implementation and evaluation

Social media strategy implementation and evaluation

  Problems in the personal computing environment

What is the basic purpose behind segregation of duties a problem in the personal computing environment?

  Role of it/is in an organisation

Prepare a presentation on Information Systems and Organizational changes

  Perky pies

Information systems to adequately manage supply both up and down stream.

  Mark the equilibrium price and quantity

The demand schedule for computer chips.

  Visit and analyze the company-specific web-site

Visit and analyze the Company-specific web-site with respect to E-Commerce issues

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd