// This program demonstrates an enumerated data type 
#include <iostream>
#include <iomanip>
using namespace std;

int main()
{
    enum Water { FREEZING = 0 , BOILING = 100 };
    int waterTemp;   // to hold the water temperature 
    
    cout << "Enter the current water temperature in C: ";
    cin  >> waterTemp;
    
    if(waterTemp <= FREEZING)
       cout << "The water is frozen.\n";
    else if (waterTemp >=BOILING)
       cout << "The water is boiling.\n";
    else
       cout << "The water is not frozen or boiling.\n";
       
    return 0;
}