幽默故事:程序员的爱情观(四)
if( boy.有房() AND boy.有车() )
{
boy.Set(Nothing)
return girl.嫁给(boy)
}
RESULT love(boy, girl)
{
if( boy.有房() AND boy.有车() )
{
boy.Set(Nothing);
return girl.嫁给(boy);
}
else if( girl.愿意等() )
{
next_year:
for( day=1; day<=365; day++)
{
if( day == 情人节 )
if( boy.GiveGirl(玫瑰) )
girl.感情++;
else
girl.感情--;
if( day == girl.生日)
if( boy.GiveGirl(玫瑰) )
girl.感情++;
else
girl.感情--;
boy.拼命赚钱();
}
年龄++;
girl.感情--;
if( boy.有房() AND boy.有车() )
{
boy.Set(Nothing);
return girl.嫁给(boy);
}
else if( boy.赚钱 > 100,000 AND girl.感情 > 8 )
goto next_year;
else
return girl.goto( another_boy);
}
return girl.goto( another_boy);
}
推荐阅读:
传奇故事:经典传奇故事集锦
成语故事:精彩成语故事集锦
哲理故事:经典哲理故事集锦
幽默故事:程序员系列笑话集锦
名人故事:著名数学家的故事集锦
更多幽默故事请访问:http://www.reader8.com/gushi/youmo/
更多精彩故事请访问读书人网故事频道:http://www.reader8.com/gushi/
Warning: include(/www/wwwroot/reader8.com/data/cache_template/phpcms_analytics.tpl.php) [
function.include]: failed to open stream: No such file or directory in
/www/wwwroot/reader8.com/data/cache_template/phpcms_show_dsrtyshow1_gushi.tpl.php on line
4
Warning: include() [
function.include]: Failed opening '/www/wwwroot/reader8.com/data/cache_template/phpcms_analytics.tpl.php' for inclusion (include_path='/www/wwwroot/reader8.com/include/') in
/www/wwwroot/reader8.com/data/cache_template/phpcms_show_dsrtyshow1_gushi.tpl.php on line
4