Temperature controlled fan using Arduino

How many times are you going to ask the same question? Stop cross-posting.

There are examples in the Playground for temperature sensors. Someone posted a sketch on one of your other threads.