Func BITS(life&L)
{
for(time++,vacation==0)
{
mess.eat(L);
do
{
food(L);
L.money--;
}
while (L.hunger>0);
L.hygiene--;
L.sleep--;
if(tut=1)
{
attendance++;
}
if(t1-2>1||t2-2>1)
{
return complain; /*no comments*/
}
if(t1==1||t2==1||compre-15<=0)
{
L.fun = NULL;
return study;
}
else
{
L.fun++;
return sleep;
}
}
}
No comments:
Post a Comment