In java: How do you find the first 20 numbers in a Fibonacci sequence and put it in a list using recursive way? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In java: How do you find the first 20 numbers in a Fibonacci sequence and put it in a list using recursive way?

I'm not sure how to put it in a list. I'd really appreciate the help. https://code.sololearn.com/c0FqCfkJQgtu/?ref=app

1st Sep 2019, 12:41 AM
Ify Nonyelu
4 Answers
+ 5
I used arrays and C++ but I guess this is one way. https://code.sololearn.com/cTlXbTjr03Mo/?ref=app
1st Sep 2019, 2:29 AM
Sonic
Sonic - avatar
+ 4
https://code.sololearn.com/cK9xnI3aF7f8/?ref=app
1st Sep 2019, 3:28 AM
Sonic
Sonic - avatar
+ 1
Thank you for your explanation, but C++ is confusing to me. Do you know it in Java?
1st Sep 2019, 2:46 AM
Ify Nonyelu
0
Thank you. I really appreciate it this. So whenever you have to put something in a list, do you use array?
3rd Sep 2019, 4:09 PM
Ify Nonyelu