Advertisement
Guest User

Untitled

a guest
Jul 15th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 0.19 KB | None | 0 0
  1. (define (find_largest_and_sum a b c) (cond((and (> a b) (> b c)) (+ a b))
  2.                                   ((and (> b c) (> c a)) (+ b c))
  3.                                   (else (+ a c))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement