2. Let the computer pick

Same program, same four examples. Every value of X gives some number of mistakes.

X = 10:

15°
15 > 10? yes
program: hot
should be: not hot
✗
22°
22 > 10? yes
program: hot
should be: not hot
✗
28°
28 > 10? yes
program: hot
should be: hot
✓
33°
33 > 10? yes
program: hot
should be: hot
✓

How many mistakes?