temperature conversion program in c using functions