broox

t = (-1 * (((c + h) * (p / 100)) + (c + h))) / ((o * (p / 100)) - (1 - o)) - take that algebra! right in your face!

Dude that's not hard, what are you complaining about?
you're right it's not hard - that's the solution. getting to that was the hard part, haha.
won't be shared or displayed
optional