0

Write program to convert a fahrenheit to its equivalent Celisius degree ?

int

4th Feb 2017, 12:23 PM
Morad shamiki
Morad shamiki - avatar
2 Réponses
+ 3
int FtoC(int c){ return (c-32)/5; }
4th Feb 2017, 12:28 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 3
You should use double instead of integer.
4th Feb 2017, 2:00 PM
zhenxi
zhenxi - avatar