Welcome to the CHICKEN Scheme pasting service

prob2 added by anonymous on Tue Sep 25 07:15:48 2012

(define (compute a b c)
  (cond ((and (<= a 0) (<= b 0) (<= c 0)) (+ a b c))
	((or (> a (+ b c)) (> b (+ a c)) (> c (+ a b))) (* a b c))
	((or (<= (and a b) 0) (<= (and a c) 0) (<= (and b c) 0)) (square (min a b c)))
	(else (square (max a b c)))
)

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Name of the CHICKEN interpreter:
Visually impaired? Let me spell it for you (wav file) download WAV