Search:

Type: Posts; User: Junky

Search: Search took 0.10 seconds.

  1. Re: Help with method. Finding minimum value in Array

    What happened when you tried it? Make sure you test it with several arrays containing a variety of values.

    BTW hard coding the value 13 is not a good idea. Use the length of the array instead.
  2. Re: Help with method. Finding minimum value in Array

    int z=scoreboard[j];
    if(scoreboard[j] < z)

    You also need to carefully examine your code.
    Lets say that the first element in the array(j is 0) is 10. That first line of code assigns 10 to z. You...
Results 1 to 2 of 2