Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    16
    Views
    1,215

    [SOLVED] Re: Printing Index of Output Array

    I'm here to help students learn programming. If you are not a student and are not trying to learn programming, I suggest that you hire a programmer to do the programming work you need done.
  2. Replies
    16
    Views
    1,215

    [SOLVED] Re: Printing Index of Output Array

    Sorry, I don't write code for students.
    If you did not write the code that you have posted, I suggest that the first thing you need to do is figure out how the code works and add some comments to...
  3. Replies
    16
    Views
    1,215

    [SOLVED] Re: Printing Index of Output Array

    Before starting coding, do some analysis to find out when and where the index values are determined.
    Start by finding where the index is available. Add some println() statements to print out an...
  4. Replies
    16
    Views
    1,215

    [SOLVED] Re: Printing Index of Output Array

    Have you looked at saving the indexes in an ArrayList?

    Please edit your post and wrap your code with code tags:


    YOUR CODE HERE

    to get highlighting and preserve formatting.
  5. Replies
    16
    Views
    1,215

    [SOLVED] Re: Printing Index of Output Array

    What is the current output from the simple version?
    What is the desired output from the program?

    Please edit your post and wrap your code with code tags:


    YOUR CODE HERE

    to get...
  6. Replies
    16
    Views
    1,215

    [SOLVED] Re: Printing Index of Output Array

    If the code saves the the index values in an ArrayList, they could be printed when desired.

    Can you make a simpler example with a small array and a small sum so it is very easy to see what the...
  7. Replies
    16
    Views
    1,215

    [SOLVED] Re: Printing Index of Output Array

    How is an index selected? Have the method return the index's value.


    System.out.println("theIndex= "+ theIndex);

    Please edit your post and wrap your code with code tags:


    YOUR CODE HERE
  8. Replies
    16
    Views
    1,215

    [SOLVED] Re: Printing Index of Output Array

    Can you explain what you are trying to do and Give an example?

    Please edit your post and wrap your code with code tags:


    YOUR CODE HERE

    to get highlighting and preserve formatting.
Results 1 to 8 of 8