Programming with MAX6675 library

I tried a simple if statement like pylon suggested and it worked like expected but when I tried the while statement it would not. I realize that right now the switch and while are a bit much for whats currently needed but I am trying to plan ahead.

The switch/while statements are in your case not planning ahead but simply wrong. Even if you add a cooling element and some fans or other stuff that needs to be controlled by the temperature, a switch statement will not be the right choice, not now and not in the future.
I already explained why the while loop is not necessary, it will not make any sense with additional equipment too.