Forum Replies Created
Viewing 1 post (of 1 total)
- AuthorPosts
- berhaneParticipant1234567891011121314151617181920212223#include<stdio.h><br />void printfab(int,int,int);<br />void main()<br />{<br />int i=0,j=1,n;<br />printf("nEnter last limit ");<br />scanf("%d",&n);<br />printf("%d %d ",i,j);<br />printfab(i,j,n)<br />}<br />void printfab(int i,int j,int d)<br />{<br /><br />int temp;<br />while(temp<d)<br />{ <br />temp=i+j;<br />j=temp;<br />i=j;<br />printf('n %d",temp);<br />printfab(i,j,d);<br />} <br />
- AuthorPosts
Viewing 1 post (of 1 total)