Fibonacci series using do while loop in c.
Your_caption_is_here |
_________________________________________________
#include <stdio.h>
main()
{
int a=0,b=1,c,i=1,n;
printf("enter n valuse:");
scanf("%d", &n);
do
{https://learn.justnk.in/p/our-kitchen-items.html
printf("%d\t", a);
c=a+b;
a=b;
b=c;
i++;
}
while(i<=n);
}
_________________________________________________