Here is a number machine.
Find the output when the input is 108
Find the input when the output is -2
84 exam-style questions on OCR GCSE Maths Function Machines. Each one has a worked solution and a mark scheme showing where the marks go.