Search:

Type: Posts; User: jean28

Search: Search took 0.09 seconds.

  1. Re: Array that tests if any elements repeat themselves

    I think that this one should work, but for some reason it doesn't. Does anything clear seem wrong now again?


    public static boolean isDifferent(float[] array)
    {
    float temp;
    boolean count...
  2. Re: Array that tests if any elements repeat themselves

    I tried to do another for loop but this one always gives me false (reasonable, considering that if I loops through it I will always find the value that I stored in temp. How do I fix this?
  3. Re: Array that tests if any elements repeat themselves

    I put array.length - 2 and it worked :) thanks.
  4. Array that tests if any elements repeat themselves

    Hey guys, I am trying to write a program that takes an array of float values and determines if all the numbers are different for each other. I am trying to set a temp variable that stores the value...
Results 1 to 4 of 4