fork(4) download
  1. ; heron's formula
  2.  
  3. (define (area a b c)
  4. (let ((s (/ (+ a b c) 2)))
  5. (sqrt (* s (- s a) (- s b) (- s c)))))
  6.  
  7. (display (area 3 4 5)) (newline)
Success #stdin #stdout 0.02s 50224KB
stdin
Standard input is empty
stdout
6