|
一个女孩写的经典程序!!! (anen) <BR>result love(boy, girl) <BR> { <BR> if( boy.有房() and boy.有车() ) <BR> { <BR> boy.set(nothing); <BR> return girl.嫁给(boy); <BR> } <BR> if( girl.愿意等() ) <BR> { <BR> while(!(boy.赚钱 > 100,000 and girl.感情 > 8 ) ) <BR> { <BR> for( day=1; day <=365; day++) <BR> { <BR> if( day == 情人节 ) <BR> if( boy.givegirl(玫瑰) ) <BR> girl.感情++; <BR> else <BR> girl.感情--; <BR> <BR> if( day == girl.生日) <BR> if( boy.givegirl(玫瑰) ) <BR> girl.感情++; <BR> else <BR> girl.感情--; <BR> boy.拼命赚钱(); <BR> } <BR> } <BR> if( boy.有房() and boy.有车() ) <BR> { <BR> boy.set(nothing); <BR> return girl.嫁给(boy); <BR> } <BR> 年龄++; <BR> girl.感情--; <BR> } <BR> return girl.goto( another_boy); <BR> }<BR> |
|