title: Why does division result in zero instead of a decimal?
body: <p>Teaching myself C and finding that when I do an equation for a temp conversion it won't work unless I change the fraction to a decimal. ie,</p>
  <p><code>tempC=(.555*(tempF-32))</code>  will work but <code>tempC=((5/9)*(tempF-32))</code>  won't work.</p>
  <p>Why?<br />
  According to the book &quot;C Primer Plus&quot; it should work as I'm using floats for both tempC and tempF.</p>