Work out the output of this function machine. Input 29 -> -5 -> Output ?

Check the final answer first, then review the worked steps.

Answer

24

Work

  1. 5 = 24

Step-by-step solution

  1. Start with the input value of $29$.
  2. Follow the arrow into the function machine, which performs the operation $-5$.
  3. Subtract $5$ from $29$ to find the output: $29 - 5 = 24$.