Please i need help in writing a code on a recursive function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please i need help in writing a code on a recursive function

In writing a program that takes in an interger n and returns An where An=An-1+An-2. and given Ao=1,A1=1,A2=2.

28th Jul 2023, 7:35 PM
Patience anwi
Patience anwi - avatar
1 Answer
+ 6
Someone can help you here but they need to know which language and see what you have written so far. Please read the following: https://code.sololearn.com/Wek0V1MyIR2r/?ref=app https://code.sololearn.com/W3uiji9X28C1/?ref=app
28th Jul 2023, 7:55 PM
Ausgrindtube
Ausgrindtube - avatar