/* 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
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
0 comments:
Post a Comment