Question:
Java programming-- Arrays.. NEED HELP PLEASE!!!?
2009-12-08 23:28:43 UTC
9. The method named fibo will initialize the array to the Fibonacci sequence. This sequence starts with 1 and 2 as the first 2 elements and each element thereafter is the sum of the previous two elements. (1, 2, 3, 5, 8, 13…)

10. The method named delete will remove the smallest element of the array.

11. The method named insert will put in one element (value = 0) right after the largest element of the array.



Questions from my midterm review.. if someone could kindly help, please!!!
Four answers:
kamaraj
2009-12-08 23:39:22 UTC
send me your full questions to my email id. i will check and advice you what you have to do
single_minded
2009-12-08 23:48:38 UTC
9. Fibonacci sequence, if you don't know about this series thien google it, Here is its code

http://www.java2s.com/Code/Java/Collections-Data-Structure/Fibonacci.htm

http://www.dreamincode.net/code/snippet529.htm

10:

This method will remove the smallest element from the given array.code:

https://answersrip.com/question/index?qid=20090901221931AAutuHz

http://www.daniweb.com/forums/thread68089.html#



I hope you got what you need.

Cheers!
2009-12-08 23:34:57 UTC
Help what? What specifically are you asking? We're not going to do your review for you (besides, that wouldn't help you on the exam)
intrepid_mesmer
2009-12-09 00:50:10 UTC
first, your sequence is wrong, it is 1,1,2,3,5,8....


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...