Search:

Type: Posts; User: Ada Lovelace

Search: Search took 0.07 seconds.

  1. Replies
    13
    Views
    1,015

    Re: Cash register

    One way to do that (and it's quite an advanced Java concept)
    would be to create a text file (txt) which stores the entire menu.
    Then write a program that would interact with the text file and print...
  2. Replies
    13
    Views
    1,015

    Re: Cash register

    That's more or less what I meant. For example, if your output
    is like this:

    Item Quantity Price
    Fries 2 0.99
    Burger 1 0.99
    Total: 1.98

    Then for the invoice to show...
  3. Replies
    13
    Views
    1,015

    Re: Cash register

    One way is to declare a integer variable to store each type of
    product. Say if you had six products, you could declare six
    separate integer variables which each store the quantity purchased
    of...
Results 1 to 3 of 3