Ask your own question, for FREE!
Computer Science 18 Online
OpenStudy (anonymous):

Okay does ne1 know how to do fibbonaci series in C++ can anyone explain me the logics behind them need desperate help !!!!

OpenStudy (anonymous):

so i gotta print the series A AB ABC ......

OpenStudy (anonymous):

You will need to learn about using recursion functions, ie a function that is calling himself. It will be something like this. recursion method unsigned long fibonacci(unsigned long number) { if ((number==0)||(number==1)) return number; else return fibonacci(number-1)+fibonacci(number-2); //recursion step } You'll get all the available help and explanations in the ("C++ How to program", Sixth edition) ebook from page 294 to 301.

OpenStudy (anonymous):

You will also have to learn how to concantenate and copy strings. strcpy(a,b) //Copy String strcat(a,b) //Concatenate String C+ How to program (Pg 454 to 458)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Breathless: Spooky witch but cute
3 hours ago 3 Replies 0 Medals
Arriyanalol: help
3 hours ago 10 Replies 2 Medals
Arriyanalol: @tinydinoUwU stop trying to find a argument u blad lil boy
1 day ago 5 Replies 3 Medals
Jaded012023: Please tell me what you all think of this song
6 hours ago 6 Replies 1 Medal
Arriyanalol: bro how
6 hours ago 2 Replies 3 Medals
Arriyanalol: cant wait for the new bluey movie in 2027
1 day ago 12 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!