Search:

Type: Posts; User: andreas90

Search: Search took 0.13 seconds.

  1. Replies
    24
    Views
    2,986

    Re: Why isn't this code working?

    Just copy-pasted your code in a public class. I had no package. Did you try the cmd as Norm suggested? I did it and it worked too.
  2. Replies
    24
    Views
    2,986

    Re: Why isn't this code working?

    I run it on NetBeans. Here is the output.


    run:
    one (1) - 0
    two (2) - 0
    three (3) - 0
    Total: 0
    Name ID Number Sold
    ________________________________
  3. Replies
    24
    Views
    2,986

    Re: Why isn't this code working?

    Hello tai8!
    I just run your code and it printed what it was supposed to.
Results 1 to 3 of 3