while(hours >= 1)
...
hours++

Look at that bit of code and think about it some more.