Code Review

Compare your solutions

    #| BEGIN (Введите свое решение) |#
(define (square x) (* x x))

(define (>= x y) (or (> x y) (= x y)))

(define (solution x y z)
  (cond ((and (>= x z) (>= y z)) (+ (square x) (square y)))
        ((and (>= y x) (>= z x)) (+ (square y) (square z)))
        (else (+ (square x) (square z)))))
#| END |#