Input : 55 Output : 55 is present in the Fibonacci series. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Input : 55 Output : 55 is present in the Fibonacci series.

Program in java

6th Apr 2017, 4:55 AM
ALOK
ALOK - avatar
3 Answers
+ 10
There are a lot of examples for Fibonacci series at the code playground. Look at them and then try to implement the input and test logic on your own. https://code.sololearn.com/c47x48HPCmp3/?ref=app https://code.sololearn.com/cIkf6rZZ61P4/?ref=app
6th Apr 2017, 5:03 AM
Tashi N
Tashi N - avatar
+ 5
I presume you want to check whether 55 is in fibonacci series. 0 1 1 2 3 5 8 13 21 34 55 ... Yes, it is.
6th Apr 2017, 1:13 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 1
Thanx everybody
6th Apr 2017, 2:47 PM
ALOK
ALOK - avatar