microJ3 Parser
Parse
Factorial Function
factorial (number) { var result; result = 1; while(number > 0) { result = result * number; number = number - 1; } return result; } combination(top,down) { var result; result = factorial(top) / (factorial(down) * factorial(top-down)); return result; } Main() { print "Combination of 3 and 2 is:",combination(3,2); }