C Programm zur Anzeige von Fibonacci Serice
//display fibonacci serice
#include<stdio.h>
#include<conio.h>
int main()
{
int a=1,b=1,c=0,n;
printf("\nEnter the limit: ");
scanf("%d",&n);
for (int i = 1; i <= 10; i++)
{
printf("%d, ",a);
c= a+b;
a=b;
b=c;
}
return 0;
}
Cruel Chamois