mirror of https://github.com/japl-lang/japl.git
Update factorial.jpl
This commit is contained in:
parent
520477656e
commit
c70d923ef8
|
@ -12,8 +12,8 @@ fun factorial(n) {
|
|||
|
||||
|
||||
var start = clock();
|
||||
print "Computing factorials from 0 to 200";
|
||||
print("Computing factorials from 0 to 200");
|
||||
for (var i = 0; i < 201; i = i + 1) factorial(i);
|
||||
var result = clock() - start;
|
||||
print "Computed factorials in " + stringify(result) + " seconds";
|
||||
print("Computed factorials in " + stringify(result) + " seconds");
|
||||
|
||||
|
|
Loading…
Reference in New Issue