Exercise 2
Write a program which prompts the user for an input temperature of water in degree Celcius. The program should print the water temperature which was entered, and give the state of water (solid, liquid, gaseous) at that temperature.
Provide three versions of the above program: one using one-way branching (if), another using two-way branching (if-else), and a third one using multiway branching (switch-case).