You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This program calculates the value of a recursive function f(n) that is defined similarly to the Fibonacci sequence, but with an additional static variable prev to keep track of the previous value.