0

Challenge: code to print nearest fibonacci

code to print nearest fibonacci for a given number and if the given number is fibnacci print the same

15th Sep 2017, 8:10 PM
Balaswamy
Balaswamy - avatar
2 ответов
+ 1
Two methods - the second one will surprise you ! https://code.sololearn.com/cz3SlpOqp0VK
15th Sep 2017, 8:42 PM
VcC
VcC - avatar
+ 1
that's a very compact code.. thanks much
16th Sep 2017, 8:52 AM
Balaswamy
Balaswamy - avatar