Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Thread: Fibonacci Series

    by Norm
    Replies
    8
    Views
    806

    Re: Fibonacci Series

    What printed out when you printed the value of numbers[x] ?
  2. Thread: Fibonacci Series

    by Norm
    Replies
    8
    Views
    806

    Re: Fibonacci Series

    Add a println statement to print out the value of numbers[x] every time the loop goes around so you can see what the code is doing.
  3. Thread: Fibonacci Series

    by Norm
    Replies
    8
    Views
    806

    Re: Fibonacci Series

    numbers = new int[x+1]; //Increases array size
    What is the above supposed to do? What happens to the previous contents of the array?
Results 1 to 3 of 3