char tipo[20];
cout << "Introduce tipo de habitacion ";
cin.getline(tipo, 20-1);
if (strcmp(tipo, "simple") == 0)
{
c1.habit = Simple;
}
else
if (strcmp(tipo, "doble") == 0)
{
c1.habit = Doble;
}
else
{
if (strcmp(tipo, "suite") == 0)
{
c1.habit = Suite;
}
}