Answer:
a) x = 260
b) g = 218
c) z = 30
d) h = 5
Explanation:
a)

Predict a number; let's say x = 225

Too low; try with a higher number; let's say x = 270

Too high, we're closer.
x = 260

--------------------------------------------------------------------------------------
b)

let's say g = 230

Too high. Try g = 221

We're almost there. Let's try with g = 218

----------------------------------------------------------------------------------------
c)

Let's try with z = 15

Too low; try a higher number. z = 30

--------------------------------------------------------------------------------------------
d)

Let's try with h = 6

Too high; let's try with h = 5
