c++ calculations
<p>I'm trying to do a simple calculation in C++
I know I can do this but it slipped my mind.</p>

<pre><code>45 + x(.25) = 70
</code></pre>

<p>How do I solve for <code>x</code> in code.</p>

<p>If it helps this equation should be x = 100 as in .25 of 100 will result in 70.</p>

<p>Tips: I'm trying to avoid the <code>&lt;cmath&gt;</code> include at all costs.</p>
