Develop program that simulates section of a restaurant menu

Assignment Help Programming Languages
Reference no: EM13772821

The first step in writing a software application is to determine the requirements. There is no value in writing a program that does not address the needs of the client. Requirements can be gathered in many ways, but ultimately, the requirements serve to document what the application should and should not do. After the requirements are written, the application design can be prepared, followed by the actual coding. For this project, you will gain some practice in the design phase of software development by designing a program that will meet a given set of requirements.

Develop a console program that simulates a section of a restaurant menu. Each item will have a different price and your program should define at least ten (10) items. You will need to obtain an order from the user who should provide their menu selection along with quantity. The total cost for the meal must be calculated. The user will enter the amount of their payment ($10, $20, etc.). The program needs to calculate the amount due back to the user (payment minus total cost of meal).

The project instructions and deliverables are as follows:

Create a document in Word (name the design document yourName_Unit2.IP), and add the following:Title pageCourse number and nameProject nameStudent nameDateList the data items that must be stored and used by the program. Each data item should be given a name for reference. Develop a UML class diagram that illustrates the data items for your program.List the decisions the program must make. References to the data items in the previous step should be used where appropriate.Describe the flow of operation of the program by preparing pseudocode or a UML activity diagram. All key activities should be included, and references to the data items and decisions listed in the previous steps should be used.Create a zip that includes your project folder and Word document, and upload it to the course portal.

Reference no: EM13772821

Questions Cloud

Price quantity price elasticity total revenue : Fill in the blanks for each price-quantity combination listed in the following table. Now graph this relationship, making sure to label each axis. What relationship have you depicted?Price Quantity Price Elasticity Total Revenue
Which depreciation method would you recommend using for : Financial statements and financial reports are your friend. From a company's annual report (10-K), which is the most important type of statement? Why? Optional: Depreciation is how a business uses its assets. Which depreciation method would you recom..
Legalization of marijuana in the united states : The debate over the legalization of marijuana in the United States has been raging for over a century with both sides having clear points of view. Research and explain the pros and cons of this debate.
Who were the key actors involved in the decision-making : Who were the key actors involved in the decision-making to go to Iraq and how did their ideas evolve?Why were some actors involved and others excluded from the decision-making to go to Iraq and did the exclusion of some actors affect the decision tha..
Develop program that simulates section of a restaurant menu : Develop a console program that simulates a section of a restaurant menu. Each item will have a different price and your program should define at least ten (10) items. You will need to obtain an order from the user who should provide their menu sel..
Analyze the duty of loyalty in whistleblower cases : Analyze the duty of loyalty in whistleblower cases to determine to whom loyalty is owed and who shows the greater duty of loyalty. Support your analysis with specific examples. Then, suggest at least one (1) change to an existing law.
What factors might account for the increase in the earnings : What factors might account for the increase in the earnings of college-educated workers vis-vis high school graduates and dropouts over the last three decades?
Write an expression for the budget constraint : An individual has utility function over income (M) and leisure (L) of U(M,L) = M·L2.  The amount of non-labor income is Y, and the individual has T hours available for work or leisure.a. Write an expression for the budget constraint, and show it in a..
Traits of ethical leaders and the influence of the group : Discuss how the traits of ethical leaders and the influence of the group affect moral responsibility. Provide an example in your writing.

Reviews

Write a Review

Programming Languages Questions & Answers

  Design and write a program

Design and write a program, using functions, that calculates the area and perimeter of a rectangle whose dimensions (length and width) are provided by a user.

  User-s ability to navigate the web site correctly

This can paralyze a user's ability to navigate the Web site correctly. Examples include opening new browser windows or using meta-refresh to force a page.

  Catch and handle the error thrown by the code

Catch and handle the error thrown by the code. Redirect the user back to the login screen and display a friendly error message stating that the credentials were incorrect

  Describe logic why it is not enough to show reduction

If we can only show: if x belongs to A, then y does not belongs to B;explain the logic why it is not enough to show A reduction B.IN other words why the theory needs to prove"if and only if"?

  Write program to prompt user to enter string of caharacter

Write a program that prompts the user to enter a string of 87 characters the program should display the middle character in the string if there is an odd number characters in the string.

  Program to calculate state and county sales tax

Write a program that will ask the user to enter the amount of a purchase. The program should then calculate the state and county sales tax.

  Write a program that reads data entered at run time

Write a program that reads data entered at run time consisting of positive integers and averages them -

  Can explain procedural language in clearly and simply?

Can explain procedural language in clearly and simply? And compare other object-oriented programming, functional programming, logic programming and imperative programming.

  Expression whose value is distance between two point

a structured type with two fields, x and y, both of type double-- write an expression whose value is the distance between the two point represented by p1 and p2.

  Estimate the storage space for telephone book

Estimate the storage space (number of bytes) required for each of the following items: A telephone book with 10,000 entries consisting of names, addresses and phone numbers. Use your phone book to estimate the average length of an entry.

  Create class for hardware store to represent invoice

Create a class called Invoice that a hardware store might use to represent an invoice for an item sold at the store. An Invoice should include four pieces of information as instance variables a part number.

  Designing system to handle donations of non-profit agency

You have been hired by worldwide non-profit agency to create a system to handle their donations.

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