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
355 views
1 answer
Common lisp map number to word
Lisp
0 vote
368 views
1 answer
Common lisp ide macos
Lisp
0 vote
343 views
1 answer
Emacs switch horizontal vertical
Lisp
0 vote
349 views
1 answer
List contains lisp
Lisp
0 vote
348 views
1 answer
Doom emacs pdf-tools
Lisp
0 vote
358 views
1 answer
Elisp return type
Lisp
0 vote
342 views
1 answer
Magit pull request
Lisp
Share