how to convert c to f code example Example: celsius to fahrenheit formula fahr = celsius * (9.0/5.0) + 32.0;