View Single Post
Old Feb 24th, 2005, 10:38 PM   #1
mimic
Newbie
 
Join Date: Feb 2005
Posts: 2
Rep Power: 0 mimic is on a distinguished road
How to i convert this alphacode to assembly ??

function factorial(n)
{
define sum;
if n <= 1 then
return 1;
sum = 1;
for i=2 to n do
sum = sum * i;
return sum;
}

function binomial(n,k)
{
if n <= 0 or k => 0 or n <= k then
return 1;
return factorial(n)/(factorial(k)*factorial(n-k));
}

print binomial(5,3)






I think it's easy for you all help me pls...
Best Regards,
Mimic
mimic is offline   Reply With Quote