Before:

   //Compute cost for cabin on cruise ship
   if ('e' == cabin && month < 6 )
   {
       cabinPrice = OFF_SEASON_ECONOMY;
   }
   else
   {
       if('e' == cabin && month > 5 )
       {
           cabinPrice = PEAK_SEASON_ECONOMY;
       }
       else
      {
          if ('u' == cabin && month < 6 )
          {
             cabinPrice = OFF_SEASON_UPPERDECK;
          }
          else
          {
             if('u' == cabin && month > 5 )
             {
                cabinPrice = PEAK_SEASON_UPPERDECK;
             }
             else
             {
                if ('l' == cabin && month < 6 )
                {
                   cabinPrice = OFF_SEASON_LUXURY;
                }
                else
                {
                      cabinPrice = PEAK_SEASON_LUXURY;
                }
              }
            }
         }