Ask your own question, for FREE!
Computer Science 11 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
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 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!