Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int fun(int n)
  4. {
  5. if(n>100)
  6. return n-10;
  7. else
  8. return fun(fun(n+11));
  9. }
  10. int main()
  11. {
  12. int a=fun(95);
  13. cout<<a;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement