| | |
Recursive Fibonacci
![]() |
•
•
Join Date: Apr 2007
Posts: 1
Reputation:
Solved Threads: 0
hi there, i also have an emergency home work
it about Fibonnaci recursive
the Output is should be like this :
--------------------------------------------------
First number of the fibonnaci : 3
The Fibonacci Lines are : 3 4 7 11 18 29 ...
----------------------------------------------------
i want the result is until 10 lines
i try all i do to finish this task, but always failed.
can anyone help me?
it about Fibonnaci recursive
the Output is should be like this :
--------------------------------------------------
First number of the fibonnaci : 3
The Fibonacci Lines are : 3 4 7 11 18 29 ...
----------------------------------------------------
i want the result is until 10 lines
i try all i do to finish this task, but always failed.
can anyone help me?
•
•
•
•
use
fibonaci(int n)
{
if(n==1) return o;
if(n==2) return 1;
return fibonaci(n-1)+fibonaci(n-2);
}
http://www.daniweb.com/techtalkforum...cement8-2.html
http://www.daniweb.com/techtalkforum...cement8-3.html
Not only that, but I know for a fact that the code won't work.
"Technological progress is like an axe in the hands of a pathological criminal."
![]() |
Similar Threads
- C++ Fibonacci program help (C++)
- Need Help in Recursion (C)
- Recursivity (C++)
- Newbie Help (Python)
- Fibonacci Problem Help!! (Python)
- Fibonacci Recursion - Illegal Start of expression! (Java)
- Fibonacci number (C)
- Really Weird Error... Fibonacci Nums (C++)
Other Threads in the C Forum
- Previous Thread: factorization of integers
- Next Thread: problem with getch()
| Thread Tools | Search this Thread |
adobe api array arrays binarysearch calculate char cm convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic feet fflush file floatingpointvalidation fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators intmain() iso kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix microsoft motherboard mqqueue mysql oddnumber odf open opendocumentformat opensource openwebfoundation owf pattern pdf performance pointer posix power probleminc program programming pyramidusingturboccodes read recursion recv recvblocked repetition research scanf scheduling segmentationfault send shape socketprograming socketprogramming stack standard strchr string suggestions systemcall test unix urboc user variable voidmain() wab win32api windows.h






