Home | | C++ Tutorial | | 3. First Program | | Share This Page |
void DayInTheLife(Time now) { if(isDaytime(now)) { GoToBeach(); GetSuntan(); } else if(isEvening(now)) { VisitFriends(John, Mary, Bill); ReadBook(); } else { Sleep(); } }
Home | | C++ Tutorial | | 3. First Program | | Share This Page |