Publisher review:recursion - This is how you implement the following code: [code] f(a,b) =a-b if a=0 or b=0 f(a-1.b) f(a,b-1) This is how you implement the following code. [code] f(a,b) =a-b if a=0 or b=0 f(a-1.b) f(a,b-1) otherwise once you implement the code you must declare two nembers, then call the fib() in the main()
recursion is a C/C++ script for Snippets scripts design by sknox1.
It runs on following operating system: Windows / Linux / BSD / Solaris.
Operating system:Windows / Linux / BSD / Solaris