Homesample c programC Program to Generate Fibonacci Series C Program to Generate Fibonacci Series Piyush Purbia 11:38 AM 0 It is a sample c program to generate a Fibonacci series.Program Source Code#include"stdio.h"#include"conio.h"void main(){int a , b , c , i=1;clrscr();a=0;b=1;printf(“Fibonacci Series”);printf(“%d\n”, a);printf(“%d\n”, b);while(i<=10){c=a+b;printf(“%d”, c);a=b;b=c;i++;} getch();} Output Tags c example c examples with code c program fibonacci series generate fibonacci series sample c example sample c program Newer Older
Dont SPAM