c++ version of the VacationCalculation program.