Hi All ,
I am trying to get fibonacci series with the following rule .But getting unexpected output .
Let me know where am I doing it wrong .
TIA
Discussion posts and replies are publicly visible
Hi Prakash ,
In appending values you used , add the values so you will get the Fibonacci series output.
a!localVariables( append( ri!list, reverse(ri!list)[1] + reverse(ri!list)[2]), )
Thanks .Working now