Search:

Type: Posts; User: tai8

Search: Search took 0.07 seconds.

  1. Replies
    24
    Views
    2,984

    Re: Why isn't this code working?

    my god i really dont know... anyone?
  2. Replies
    24
    Views
    2,984

    Re: Why isn't this code working?

    I tried it and still nothing. sigh... i want to die :(
  3. Replies
    24
    Views
    2,984

    Re: Why isn't this code working?

    I don't think changing the order does anything. I just tried and nothing. I dont know why the 3 stands are not adding together. what is wrong with the code there?
  4. Replies
    24
    Views
    2,984

    Re: Why isn't this code working?

    The problem is i'm not sure why the numbers for hot dog stands 1, 2, and 3 are not adding up. I know what i want to do, i just don't know how to get there.
  5. Replies
    24
    Views
    2,984

    Re: Why isn't this code working?

    So how would i fix it then? Do i just delete all the loops then?
  6. Replies
    24
    Views
    2,984

    Re: Why isn't this code working?

    Why isn't this adding up?

    Ok so i finally got the program to output but the problem is the sum of the output is wrong. This is what i have:



    class HotDogStand
    {

    private int id;
  7. Replies
    24
    Views
    2,984

    Re: Why isn't this code working?

    I'm using NetBeans too. How did you get that? Did you copy and pasted exactly what I posted and ran it or did you change anything to the code at all?

    Oh I forgot to mention I also have this...
  8. Replies
    24
    Views
    2,984

    Re: Why isn't this code working?

    How do i do that?
  9. Replies
    24
    Views
    2,984

    Re: Why isn't this code working?

    Really? What IDE did you use and what does your output look like?
  10. Replies
    24
    Views
    2,984

    Re: Why isn't this code working?

    All it says is this:

    run:
    BUILD SUCCESSFUL (total time: 2 seconds)

    What is it supposed to show?
  11. Replies
    24
    Views
    2,984

    Why isn't this code working?

    Ok so I have a problem.

    You operate several hot dog stands distributed throughout town. Define a class named HotDogStand that has a member variable for the hot dog stand's ID number and a member...
Results 1 to 11 of 11