Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,164

    Re: what is wrong with my code

    What is wrong with what is printed out now?
    What you posted for the output looks like what you say you want.
  2. Replies
    4
    Views
    1,164

    Re: what is wrong with my code

    Look at the definition of lottoticket. What kind of data does it hold?
    Is that the kind of data being used in the add() method?

    Hint: an array is not the same as the type of data in the array.
Results 1 to 2 of 2