Smatchcube's website 🌍


Exercise 1.4

This procedure choose the plus (+) operator if b is greater than 0, otherwise it choose the minus (-) operator and then it uses this operator with a and b to correctly compute \(a+|b|\).