Connect buzzer to temperature sensor arduino

Read this
https://forum.arduino.cc/t/beginners-combining-two-codes-doesnt-work/599945
and this