Task

Show how to return more than one value from a function.




 
(define (plus-minus x y)
    (values (+ x y) (- x y)))
(plus-minus 3 4)
    → 7
     -1
 
(define (plus-minus x y)
    (list (+ x y) (- x y)))
(plus-minus 3 4)
    → (7 -1)
 