formula of converting celsius to fahrenheit code example
Example 1: fahrenheit to celsius formula
cels = (fahr - 32.0) * 5.0/9.0; //Fahr to cels
fahr = (cels * 9.0/5.0) + 32.0; //Cels to fahr
Example 2: celsius to fahrenheit formula
fahr = celsius * (9.0/5.0) + 32.0;