diff --git a/Fibonacci series b/Fibonacci series new file mode 100644 index 0000000..e77e185 --- /dev/null +++ b/Fibonacci series @@ -0,0 +1,18 @@ +#include + +int main(void) +{ + int n, i,a,b,c; + printf("\n enter the number of terms"); + scanf("%d", &n); + a=0, b=1; + printf("\n the fibonacci series: "); + printf("\t %d \t %d", a,b); + for(i=2; i