Code to calculate area of a trapazoid javascript
<p>So i need code that will calculate area of a trapazoid with this formula</p>

<pre><code>Area = ½ h * (a+b)
</code></pre>

<p>anyway I would need it so I can input the values (A, B, H) if possible, thanks.</p>
