title: Shows a different result when divided by float 1 and int 1
body: <p>This is what I am getting and I don't get why this output is coming. when I change float to int it is giving proper output.</p>
  <pre><code>int delta=99999997/(float)1;     
  cout&lt;&lt;delta&lt;&lt;endl;
  </code></pre>
  <p><strong>Output:</strong>
  100000000</p>
  <p><a href="https://i.stack.imgur.com/eWD7c.png" rel="nofollow noreferrer">Image of ide</a></p>