Exercise 1.4
The operator evaluates to + (addition) when b is positive, and to - (subtraction) when b is negative. Subtracting a negative is equivalent to adding its absolute value, so this procedure return \(a + |b|\) in all cases.
The operator evaluates to + (addition) when b is positive, and to - (subtraction) when b is negative. Subtracting a negative is equivalent to adding its absolute value, so this procedure return \(a + |b|\) in all cases.