Evaluated input of hours

Checked hours user input for empty value, otherwise logged to console
the value.