All pastes #2121957 Raw Edit

Something

public text v1 · immutable
#2121957 ·published 2012-02-27 06:46 UTC
rendered paste body
(define (sum-of-largest-squares x y z)
  (if (>= x y)
      (+ (* x x) (if (>= y z)
                     (* y y)
                     (* z z)))
      (+ (* y y) (if (>= x z)
                     (* x x)
                     (* z z)))))