<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Directory%3ADerek_Elder%2FPrograms%2FInterest_Calculator</id>
	<title>Directory:Derek Elder/Programs/Interest Calculator - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Directory%3ADerek_Elder%2FPrograms%2FInterest_Calculator"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Directory:Derek_Elder/Programs/Interest_Calculator&amp;action=history"/>
	<updated>2026-06-15T04:11:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://mywikibiz.com/index.php?title=Directory:Derek_Elder/Programs/Interest_Calculator&amp;diff=51333&amp;oldid=prev</id>
		<title>Derek Elder: start of page</title>
		<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Directory:Derek_Elder/Programs/Interest_Calculator&amp;diff=51333&amp;oldid=prev"/>
		<updated>2007-11-01T22:48:06Z</updated>

		<summary type="html">&lt;p&gt;start of page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;cmath&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
	float deposit = 0.0;&lt;br /&gt;
	float rate = 0.0;&lt;br /&gt;
	float compound = 0.0;&lt;br /&gt;
	float years = 0.0;&lt;br /&gt;
&lt;br /&gt;
	cout&amp;lt;&amp;lt;&amp;quot;Enter the initial deposit: &amp;quot;;&lt;br /&gt;
	cin&amp;gt;&amp;gt;deposit;&lt;br /&gt;
	cout&amp;lt;&amp;lt;&amp;quot;Enter the annual interest rate percent: &amp;quot;;&lt;br /&gt;
	cin&amp;gt;&amp;gt;rate;&lt;br /&gt;
	cout&amp;lt;&amp;lt;&amp;quot;Enter the number of times the compounding is done per year: &amp;quot;;&lt;br /&gt;
	cin&amp;gt;&amp;gt;compound;&lt;br /&gt;
	cout&amp;lt;&amp;lt;&amp;quot;Enter the number of years the deposit will be left to build interest: &amp;quot;;&lt;br /&gt;
	cin&amp;gt;&amp;gt;years;&lt;br /&gt;
	//(rate/100) Takes the rate and converts it from a percent to a fraction&lt;br /&gt;
	float accum = (1+((rate/100)/compound));&lt;br /&gt;
	float exponent = years*compound;&lt;br /&gt;
	cout&amp;lt;&amp;lt;&amp;quot;The accumulation after &amp;quot;&amp;lt;&amp;lt;years&amp;lt;&amp;lt;&amp;quot; years is: &amp;quot;&amp;lt;&amp;lt;deposit*pow(accum,exponent)&amp;lt;&amp;lt;endl;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Derek Elder</name></author>
	</entry>
</feed>