DS18B20 - temperature sensor code Help Request

How about sensor0 and sensor1?

Marginal. sensor is too generic, for one thing. The numbering is wrong, too. If you lay a bunch of sensors on a table, and ask 100 people to count them, 99 or more will count 1, 2, ...

If the sensors are really that generic, then they belong in an array, anyway.