Code Review
Compare your solutions
#| BEGIN (Введите свое решение) |#
(define (solution a b c)
(cond ((and (> b a)(> c a))(+ (* b b)(* c c)))
((and (> a b)(> c b))(+ (* a a)(* c c)))
((and (> a c)(> b c))(+ (* a a)(* b b)))))
#| END |#
#| BEGIN (Введите свое решение) |#
(define (solution a b c)
(cond ((and (>= b a)(>= c a))(+ (* b b)(* c c)))
((and (>= a b)(>= c b))(+ (* a a)(* c c)))
((and (>= a c)(>= b c))(+ (* a a)(* b b)))))
#| END |#
#| BEGIN (Введите свое решение) |#
(define (solution a b c)
(cond ((and (> b a)(> c a))(+ (* b b)(* c c)))
((and (> a b)(> c b))(+ (* a a)(* c c)))
((and (> a c)(> b c))(+ (* a a)(* b b)))))
#| END |#
#| BEGIN (Введите свое решение) |#
(define (solution a b c)
(cond ((and (>= b a)(>= c a))(+ (* b b)(* c c)))
((and (>= a b)(>= c b))(+ (* a a)(* c c)))
((and (>= a c)(>= b c))(+ (* a a)(* b b)))))
#| END |#