LISP program to demonstrate the use of numeric conversion functions
kw.lisp
Output
kodingwindow@kw:~$ clisp kw.lisp ——————————————————————————————————————————— Program to use numeric functions ——————————————————————————————————————————— 7 8 8 7 7.0 8.0 8.0 7.0 1 #C(2 15) #C(15 2) 15 2 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
LISP program to calculate the square and cube of numbers
LISP program to find the min and max of two numbers
LISP program to swap the given numbers
Advertisement