AD (728x90)

GoogleOnline Exam Test Seminar Sparkz IncEasy Link Exchange

Saturday 31 May 2014

Fibonacci Program in C

Seminars and Jobs information
Share it Please
/* A Fibonacci Sequence is defined as follows: the first and second terms in the sequence are 0 and 1. Subsequent 
terms are found by adding the preceding two terms in the sequence. Write a C program to generate
the first n terms of the sequence.
*/
#include <stdio.h>

void main()
{
int num1=0, num2=1,no,counter,fab;
clrscr();
for more please Click

Written by

Java Basic Point blog is created for the MCA,M.Tech,B.Tech and Graduate students.So visit and get the benifits from this blog.

0 comments:

Post a Comment

© 2013 Learning Java. All rights resevered. Designed by Templateism