Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Re: Doubling The Array Size And Randomizing Array Return

    So the contents of the array are used. So why do you read in the arrays? Couldn't you just read in two numbers that represent the sizes of the arrays?
  2. Re: Doubling The Array Size And Randomizing Array Return

    I doubt it will explain what the algorithm is that you are trying to implement.

    Besides the code is not setup for testing. I had to change these lines for easy testing:


    Scanner...
  3. Re: Doubling The Array Size And Randomizing Array Return

    Sorry, I have no idea how you go from the arrays A and B to the combination arrays.
    One has letters, the other numbers. There are no elements in arrays A and B that are in common.
    Given arrays A...
  4. Re: Doubling The Array Size And Randomizing Array Return

    I'd do it in a loop similiar to how your getArray() method does it.


    Can you give an example of the input and output you want?
  5. Re: Doubling The Array Size And Randomizing Array Return

    Still confused. You wrote a method to solve a problem.
    Now you've forgotten where the problem is so you can call the method at that location.
    In that case why not throw out the method if it is of...
  6. Re: Doubling The Array Size And Randomizing Array Return

    If you have a method that does what you want done, why don't you call that method?
    Do you need to have two (or more) methods that do the same thing but using different techniques?
    You currently...
  7. Re: Doubling The Array Size And Randomizing Array Return

    Sorry, I'm confused why you wrote getArray() with this program. What does it have to do with this program?
  8. Re: Doubling The Array Size And Randomizing Array Return

    I'm confused. What is the purpose of the getArray method? Why did you write it if it is not related to the program task?
  9. Re: Doubling The Array Size And Randomizing Array Return

    Please explain the problem.


    No idea what you are asking here. Can you explain perhaps with an example.
Results 1 to 9 of 9