Added the if conditional to convert celsius to fahrenheit.