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
To provide assistance, could you please share the specific rule or code you're using? This will help in identifying where the problem might be occurring. I had a great experience with DoMyPaper at https://domypaper.com/ The writer delivered a fantastic paper that was well-researched and met all my requirements. The customer service was also very supportive throughout the process. For anyone in need of academic help, DoMyPaper is a great option.
Prakash and JayaPrakash Ravipati What is the use of 'value' input (value_)?
It will store the result of each iteration and append to the list
If you want to learn more about using "_", check out this article on partial evaluation: docs.appian.com/.../expression-advanced-evaluation.html
It can be helpful, but it really is only used when using looping functions.
OK. Thank You Peter Lewis .