Scheme Exercises
back to exercise list
previous next
Group: Exercise: 12/48
Max3:
Largest of 3 values
Write a function (max3 a b c) that returns the largest of a b and c. You may define a max2 function and use it as a helper function to make it clearer and easier. For instance: (max3 3 4 5) -> 5 (max3 1 2 2) -> 2
|