SHARE
TWEET

c++ ds

a guest Oct 15th, 2012 26 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int F(int m,int n)
  2. {
  3. if((m==1)||(n==0)||(m==n))
  4. return(1);
  5. else
  6. return (F(m-1,n)+F(m-1,n-1));
  7. }
RAW Paste Data
Want to get better at C++?
Learn to code C++ in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top