Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. Replies
    16
    Views
    2,252

    Re: Merging 2 arrays

    No problem. He's got enough problems in that code for more than one person. :p
  2. Replies
    16
    Views
    2,252

    Re: Merging 2 arrays

    I'd recommend you run through this with a debugger, or at least put in a bunch of print statements, to figure out what's going on. I already gave you a hint.
  3. Replies
    16
    Views
    2,252

    Re: Merging 2 arrays

    What output are you getting? What output did you expect?

    Do you really not indent your code?

    Hint: Print out the index you're updating when you populate your c array in both for loops.
Results 1 to 3 of 3