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,
tempC=(.555*(tempF
It looks like you have integer division in the second case:
tempC=((5/9)*(tempF-32))
The 5 / 9 will get truncated to zero.
5 / 9
To fix that, you need to make one of them a floating-point type:
tempC=((5./9.)*(tempF-32))