need done asap with netbeans with the information i provided programmers only

Running head: CONSOLE PROGRAM


Console Program

Course number and name:

Project name:

Student name:

Date of Submission:

    1. List the data items that must be stored and used by the program and a UML class diagram that illustrates the data items for the program


  1. Customer’s Identity

  2. Type of food

  3. The price per food item

  4. The waiter/waitress in charge

  5. The money cashed in by the customer

  6. Comments by the customer.

need done asap with netbeans with the information i provided programmers only 1

    1. List of the decisions the program must make.

  1. The type of food needed by the customer.

  2. The quantity of food ordered.

  3. The amount of cash to be paid.

  4. The calculation of the balance after paying for the food.

  5. The waiter who serves the customer.



    1. The pseudocode

Module main ()

//declaring variables

Declare String role

Declare String Customer Id

Declare Integer order id

Declare double food­­_price

Declare double Change­_amount

//prompt user to log in as staff or customer

Input username

Input password

If username/password are false, then

Display “unable to log in”

Else,

If role is Manager, then grant system privileges,

Else //give privileges to the booking services

Display “enter ordered items”

Input ordered

Display “total cost of ordered food”

Input food cost

//calculate and show charge amount

Change amount =Cash paid-totalfoodcost

Display “change amount”

//give customer’s change and start a new order

Display “Start a new order”