Jump to content

Evaluate binomial coefficients: Difference between revisions

Line 1,045:
println("The Binomial Coefficient of %d and %d equals %s.".format(n, k, binomialCoefficient(n, k)))
}</lang>
 
Output:
<lang>java Binomial 100 30
The Binomial Coefficient of 100 and 30 equals 29372339821610944823963760.</lang>
 
=={{header|Scheme}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.