BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan Right Header

Register FAQ Community Calendar New Posts Navbar Right Corner
HOME BZU Mail Box Online Games Radio and TV Cricket All Albums
Go Back   BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan > Search Forums

Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: BSIT07-01
Forum: Data Structure 06-10-2008, 10:13 PM
Replies: 2
Views: 1,833
Posted By BSIT07-01
Re: [Assignment] Recursive Function for Fibonacci Numbers in C

What is Fobonacci Series

The first number of the sequence is 0, the second number is 1, and each subsequent number is equal to the sum of the previous two numbers of the sequence itself, yielding...
Forum: Data Structure 06-10-2008, 10:09 PM
Replies: 2
Views: 1,833
Posted By BSIT07-01
[Assignment] Recursive Function for Fibonacci Numbers in C

Just copied from BOOK :)

int fib(int n)
{
int x , y;
if(n<=1)
return(n);

x=fib(n-1);
y=fib(n-2);
Showing results 1 to 2 of 2

 
Best view in Firefox
Almuslimeen.info | BZU Multan | Dedicated server hosting
Note: All trademarks and copyrights held by respective owners. We will take action against any copyright violation if it is proved to us.

All times are GMT +5. The time now is 07:37 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.