**Not a member of Pastebin yet?**

**, it unlocks many cool features!**

__Sign Up__- (define (square x) (* x x))
- (define (sum-of-squares a b) (+ (square a) (square b)))
- (define (sum-of-largest-squares x y z)
- (cond ((or (< x y z) (< x z y)) (sum-of-squares y z))
- ((or (< y x z) (< y z x)) (sum-of-squares x z))
- ((or (< z y x) (< z x y)) (sum-of-squares y x))
- ))
- (sum-of-largest-squares 1 2 3)
- (sum-of-largest-squares 1 3 2)
- (sum-of-largest-squares 2 1 3)
- (sum-of-largest-squares 2 3 1)
- (sum-of-largest-squares 3 2 1)
- (sum-of-largest-squares 3 1 2)

RAW Paste Data