Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~442 People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Tags
c x 3
unix x 1

2 Posted Topics

Member Avatar for rotenegg

error in ma program it shows the last digit twice. #include<conio.h> #include<stdio.h> int main() { int fib(int); int n,c,a=0,b=1; printf("enter a number: "); scanf("%d",&n); printf("%d %d ",a,b); c=fib(n); printf("%d ",c); getch(); } int fib(int n) { int a=0,i,b=1,sum; for(i=0;i<n-2;i++) { sum=a+b; a=b; b=sum; printf("%d ",sum); } return(sum); }

Member Avatar for NP-complete
0
211
Member Avatar for awaisahmad13

what is that thing ? it's unix but i want to know the function and what it does?

Member Avatar for rotenegg
0
227

The End.