当前位置: 代码迷 >> C语言 >> 我们多少年买的起房
  详细解决方案

我们多少年买的起房

热度:143   发布时间:2007-09-13 20:32:31.0

----------------解决方案--------------------------------------------------------
结果都让人心寒
----------------解决方案--------------------------------------------------------
以下是引用anthony634在2007-9-13 13:12:50的发言:

int i = now;

bool isWinLottery = false;
while (i< you.deathDay)
{
if (isWinLottery)
{
you.bequeath = you.Money + Lottery.Money;
you.bequeath = you.bequeath + buyHouse(you);
you.bequeath = you.bequeath + marriage(you, yourGirl);
you.bequeath = you.bequeath + procreate(yourGirl);
you.bequeath = you.bequeath+ doSomeThing(yourFamily);
break;
}
else
{
isWinLottery= buyLottery();
};
i++;

};
you.lifeOver();
yourafterworld.bequeath = yourafterworld.bequeath + you.bequeath;
you.bequeath = 0;
beta1:忘记C/C++怎么写的了
beta2:还是没想起来C语法是不是这样写的,有空得复习一下,哎,学了就丢了,英语不会查字典



----------------解决方案--------------------------------------------------------
  相关解决方案