You are here: Home → Forums → Newbie Help → Somebody please help me
Add a reply
A 29degrees diversion |
My code is given below, please help me with this as this is my first submission
def bc(m,n)puts f(m)/(f(n)*f(m-n))end
def f(n) n==1?1:n*f(n-1)end
m,n=ARGV
bc(m.slice(0,1).to_i,n.to_i)