Need help merging code

The ONLY thing the second code does is print the temperature. It doesn't do anything with it.

The first code prints the temperature in C and F. Just delete one of those and change the 500ms delay to 100ms and it will produce the same output as the first.

Note that the Serial.print() function has an optional second argument which is the number of decimal places to print. That whole printFloat() function is redundant and unnecessary.