The answer is quite simple:
function starNormalDay()
begin
// initiate procedure to move outside of bed
While normalDay()
begin
wakeUp()
getToBathroom()
getBreakfast()
goToWork()
goHome()
sleep(7 hours);
end
end
/*
* We wake up at each day, this is life
*/
function wakeUp()
begin
if isMorning()
then
if weekDay is (saturday or sunday)
then
while (time.now < 10h00)
sleep(10 minutes)
else
getOutOfBed()
end
You see? Sometimes life is easy to explain. What do you think?
:)
This made me smile ;)
ReplyDelete