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.

In this assignment you will develop a console program that simulates a restaurant menu. The project instructions are as follows:

Program Requirements:

  1. Each item on the menu must have a different price.
  2. Your menu must define at least 10 different items.
  3. Program Requirements:
    • Display the menu to the user.
    • Allow the user to select an item from the menu. (Record the selection in a variable.)
    • Once the user has selected an item, ask them how many they want (quantity). (Record the quantity in a variable.)
    • Calculate the total. (Sales tax is not included in this exercise.)
    • Ask the user to enter the amount of their payment. (Record this amount in a variable.)
    • Subtract the order total from the payment amount and present any remainder on screen as the customer’s “change”.
    • Remind the program operator to thank the customer for their patronage.
  4. Remember to test your program fully to ensure that all functions operate correctly.

Documentation Requirements:

Create a document in Word and add the following:

Project deliverables are as follows:

  1. Create a ZIP file that includes:
    • Project folder containing your Java program (see Program Requirements above).
    • Word document (see Documentation Requirements above).
  2. Upload your ZIP file to the course portal.