一个女工程师用C语言写的爱情函数
时间:10-02
整理:3721RD
点击:
result love(boy, girl)
{
if ( boy.有房() and boy.有车() )
{
boy.set(nothing);
return girl.嫁给(boy);
}
else if ( girl.愿意等() )
{
while( ! (boy.赚钱 > 100,000 and girl.感情 > 8 ) )
{
for ( day=1; day <=365; day++)
{
if ( day == 情人节 )
if ( boy.givegirl(玫瑰) )
girl.感情++;
else
girl.感情--;
if( day == girl.生日)
if ( boy.givegirl(玫瑰) )
girl.感情++;
else
girl.感情--;
boy.拼命赚钱();
if( girl.耐心 == 0 && girl.有其它追求者)
{
girl.goto( another_boy);
boy.郁闷中();
boy.天天到论坛灌水();
return 没有结果;
}
}
}
try
{
girl.要男友买房();
girl.要男友买车();
girl.每天逛专卖店();
if ( boy.有房() && boy.有车() )
{
girl.去澳洲旅游(boy);
girl.到英国威斯敏斯结婚(boy);
girl.嫁给(boy);
boy.没日没夜挣钱();
}
}
catch()
{
girl.byebye(boy);
boy.郁闷中();
boy.天天到EDA论坛灌水();
return girl.broadcast(“这个男人真小气“);
}
return girl.每天逛专卖店();
}
return girl.goto( another_boy);
}
太有才了
太想象力了
估计达到这个人标准的不多
if (boy don't love girl)
boy find another girl;
girl 伤心;and jump from high floor;
return(girl pass away)
搞死累了
太有才了
有才 有事实
哈哈~~~~~~~
太有才了!