I have such a code, I've checked my braces, but still have no clue why the compiler gives me
#f is not a function [sumOfSqaresOfTwoBiggest, (anon)]
error
(
define (sumOfSqaresOfTwoBiggest a b c) (
cond (
((and (> a c ) (> b c)) (+ (* a a) (* b b)))
((and (> a b) (> c b)) (+ (* a a) (* c c)))
(else (+ (* a a) (* c c)))
)
)
)
(sumOfSqaresOfTwoBiggest 1 2 3)
COND. How many are there and is that correct? - Rainer Joswig