Search:

Type: Posts; User: JavaPF

Search: Search took 0.10 seconds.

  1. Thread: Help PLZ .. =(

    by JavaPF
    Replies
    5
    Views
    14,782

    Re: Help PLZ .. =(

    No problem :)

    Try changing:



    int[] array = new int[5];


    to
  2. Thread: Help PLZ .. =(

    by JavaPF
    Replies
    5
    Views
    14,782

    Re: Help PLZ .. =(

    Hello Yazan.

    Welcome to the Java Programming Forums :)

    I have made some changes to your code. The problem was you were filling the entire array with the same num value.

    Take a look at this....
Results 1 to 2 of 2