hi frend i have to generate fibonacii sequence with and without recursion i did it without and also atemp to do with recursion but io dont know how to my atemp is
i know this is wrong code but plz tell me what can i do to make fabonacii sequenceCode:#include<stdio.h> #include<conio.h> cot(int i); main() { clrscr(); int i; i=cot(3); printf("%d\t",i); getch(); } cot(int i) { int m; if(i==0)return(0), m=cot(i-1)+i; return(m); }