Meltdown mitigation

I am stuck on this part here: * If the value temperature * neutrons_produced_per_second is within 10% of the threshold (so either 0-10% less than the threshold, at the threshold, or 0-10% greater than the threshold), the reactor is in criticality and the status code of ‘NORMAL’ should be output, indicating that the reactor is in optimum condition and control rods are in an ideal position.

I struggle to show the within 10% in code

What programming language is this?
Can you post your solution (even if incorrect), and the error message you received?

This means value * 0.90 <= threshold <= value * 1.10 if that helps.