I have to do state math in React. If the states are true, I have to add each one after I multiply.
true
How can I do this math in the cleanest and simplest wa