Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int fibLast(int n){
- if(n==0)
- return 0;
- if(n==0)
- return 0;
- else
- return (fibLast(n-1)+fibLast(n-2))%10;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement