Friday, November 13, 2009

Operators and Arithmatic Part 2



Define and test a predicate which takes two arguments, both numbers, and calculates and outputs the following values :

a. their average

b. the square root of their product

c. the larger of a and b






No comments:

Post a Comment