stackofcodes
Home
Categories
Popular Codes
Articles
/
Lisp
/
Lisp input
Lisp input
Lisp input
; the function AreaOfCircle ; calculates area of a circle ; when the radius is input from keyboard (defun AreaOfCircle() (terpri) (princ "Enter Radius: ") (setq radius (read)) (setq area (* 3.1416 radius radius)) (princ "Area: ") (write area)) (AreaOfCircle)
0
Source:
tutorialspoint.com
Share
Similar codes
0 vote
202 views
1 answer
Magit pull request
Lisp
0 vote
203 views
1 answer
List contains lisp
Lisp
0 vote
209 views
1 answer
Common lisp map number to word
Lisp
0 vote
215 views
1 answer
Elisp return type
Lisp
0 vote
211 views
1 answer
Doom emacs pdf-tools
Lisp
0 vote
204 views
1 answer
Emacs switch horizontal vertical
Lisp
0 vote
211 views
1 answer
Common lisp ide macos
Lisp
Share