Definition of variable hoursWorked with prompt