Created
January 12, 2022 05:56
-
-
Save Aniket-508/a5f97228ad983430b6d26f8c3d0eff62 to your computer and use it in GitHub Desktop.
Program to find area of a square in Lisp programming language.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun AreaOfSquare() | |
(terpri) | |
(princ "Enter Side: ") | |
(setq side (read)) | |
(setq area (* side side)) | |
(princ "Area: ") | |
(write area)) | |
(AreaofSquare) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment