Math question: decrease one number by increasing another

Where’s the problem?

You have a third variable (possibly const) containing the amount by which to change both other values. Then you subtract it from one value and add it to another.

1 Like