(define (SumOfTwoLarge x y z)
(if (and (<= x y) (<= x z))
(+ (* y y) (* z z))
(SumOfTwoLarge y x z))
)
(SumOfTwoLarge 0 2 2)
感觉我这个很取巧啊,哈哈哈哈.
我还是有点不习惯把函数名和形参放在一起.
(define (SumOfTwoLarge x y z)
(if (and (<= x y) (<= x z))
(+ (* y y) (* z z))
(SumOfTwoLarge y x z))
)
(SumOfTwoLarge 0 2 2)
感觉我这个很取巧啊,哈哈哈哈.
我还是有点不习惯把函数名和形参放在一起.