June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
10
Task/Factorial/Common-Lisp/factorial-4.lisp
Normal file
10
Task/Factorial/Common-Lisp/factorial-4.lisp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
;; Project : Factorial
|
||||
;; Date : 2018/03/09
|
||||
;; Author : Gal Zsolt [~ CalmoSoft ~]
|
||||
;; Email : <calmosoft@gmail.com>
|
||||
|
||||
(defun factorial (n)
|
||||
(cond ((= n 1) 1)
|
||||
(t (* n (factorial (- n 1))))))
|
||||
(format t "~a" "factorial of 8: ")
|
||||
(factorial 8)
|
||||
Loading…
Add table
Add a link
Reference in a new issue