extern int ttl; life_task () { while (ttl--) { mood = school (); if (money) switch (mood) { case 1: tearoom (); break; default: case 2: if (beer ()>8) { /* ...this part of code is not known... */ continue; } else go_home (); break; } } else money += (work () / 2); sleep (morning); swtch (); } panic ("unable to finish operation"); }