Code Review

Compare your solutions

    #| BEGIN (Write your solution here) |#
(define (square a) (* a a))
(define (solution a b c) (-
    (+
        (square a)
        (square b)
        (square c))
    (square (cond ((and (<= a b) (<= a c)) a)
              ((and (<= b a) (<= b c)) b)
              (else c)
        )
    )
))
#| END |#