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