Search:

Type: Posts; User: Norm

Search: Search took 0.33 seconds.

  1. Replies
    12
    Views
    2,016

    [SOLVED] Re: HELP ME! How to update quantity (JAVA)

    Lets work on one problem at a time.
    Where does your program update the quantity? Add a println there to show what its new value is.
    Then add a println to show its value after the call to the method...
  2. Replies
    12
    Views
    2,016

    [SOLVED] Re: HELP ME! How to update quantity (JAVA)

    Is this a new problem?
    Have you solved the quantity update problem?


    That is often done by using an if() statement to test the contents of the data before it is stored into an array to be...
  3. Replies
    12
    Views
    2,016

    [SOLVED] Re: HELP ME! How to update quantity (JAVA)

    Sorry, I have no idea what you are asking?
  4. Replies
    12
    Views
    2,016

    [SOLVED] Re: HELP ME! How to update quantity (JAVA)

    Please edit your code and wrap it in code tags to preserve the formatting. See: http://www.javaprogrammingforums.com/misc.php?do=bbcode#code

    Please post the console from when you execute your...
  5. Replies
    12
    Views
    2,016

    [SOLVED] Re: HELP ME! How to update quantity (JAVA)

    What line in your program is supposed to show that? Did you leave off a println?
    What is the name of the variable that you want to display?


    qty[count-1]=input.nextInt();
    You should test that...
Results 1 to 5 of 5