SHARE
TWEET

c++ ds

a guest Oct 15th, 2012 25 Never
  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
Top