hi thx, i got it working like this :D , but in this case the user have to enter last two numbers instead of only last number
class fibo_r {
public static void main(String args[])
...
Type: Posts; User: r2dak
hi thx, i got it working like this :D , but in this case the user have to enter last two numbers instead of only last number
class fibo_r {
public static void main(String args[])
...
ammm thats the problem even i not able to understand how can i print Fibonacci BACKWRADS
i can write a program to print Fibonacci series to Nth term no problem there
but printing it backwards is...
by the sum of the previous two numbers
how can we print Fibonacci series in reverse order like
55 34 21 13 8 5 3 2 1 1 0
using for loop
im just not able to figure out how to do it, please suggest me some logic to do it,
thanks