multiplying two floats in C++ give me unknown results
<p>I am a C++ newbie and having a problem with my first program. I'm trying to multiply two float numbers and the result always show like 1.1111e+1 where 1s are the random numbers. Following is the little program I wrote.</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;conio.h&gt;
using namespace std;
int main()
{
  float bank;
  float dollor;
  cout&lt;&lt;"Enter amount of $ deposited at Bank: ";//the data to input is 5000
  cin&gt;&gt;bank;
  cout&lt;&lt;"Enter current $ price: ";//1usd = 800mmk: the data to input is 800
  cin&gt;&gt;dollor;
  bank*=dollor;//all deposited $ to local currency
  cout&lt;&lt;"Result is "&lt;&lt;bank;
  getch();
}
</code></pre>

<p>and the result of this program is 4e+006.</p>

<p>ps: I declared as float in order to input floats sometime.
Please help me with this program where I was wrong. Thanks all..</p>
