Use do to define (minimum lst) which returns the minimum of a list of numbers. You
may want to define an auxiliary procedure (smaller x y), using if, which returns the
smaller of two numbers.
I started doing this:
(defun minimum (lst)
"(lst) returns the smallest number of list."
(do ((numbers lst (cdr numbers))
But I'm stuck in the defining my command and would appreciate any insight greatly.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment