This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

Help with some quiz questions

3 posts · 1206 views

Hello friends,

Need some help in writing the LISP function for the following:
1:) LISP code for the following functions so that when you run the code the output will be as shown below:

1- : (add22 5)
7

2- : (add55 5)
10

3- : (min-abs4 3 5 -2 -8)
2

4- : (max-abs4 3 5 -2 -8)
8

Re: Help with some quiz questions

If you need help learning Lisp, try reading Practical Common Lisp. Your questions are very simple, you just need to lear the basics. I'm not doing your homework for you.

Re: Help with some quiz questions

Your post reads like "do my homework for me", which isn't particularly tempting.

If you post code you have so far, and tell us how it doesn't work, we can help.