]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - contrib/bc/Test/fact.b
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / contrib / bc / Test / fact.b
1 define f (x) {
2
3   if (x<=1) return(1)
4   return (f(x-1)*x)
5 }
6
7 for (a=1; a<600; a++) b=f(a)
8 "
9 "
10 "b=";b
11 quit
12