Question: . Need answer in OZ Lanugage Write a function Abs that computes the absolute value of a number. This should work for both integers and
.
Need answer in OZ Lanugage
Write a function Abs that computes the absolute value of a number. This should work for both integers and real numbers. For example, (Abs ~ 2) should return 2, (Abs ~ 2, 5) should return 2.5, and (Abs 7) should return 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
