result love(boy, girl) [P}Bq6;p
{ *k(FbZ
if( boy.有房() and boy.有车() ) #ed|0
{ k _t|)
J
boy.set(nothing); mc]+j,d
return girl.嫁给(boy); 1XiA
} "'5(UiSFz
if( girl.愿意等() ) ")8l'^Mq2
{ |6So$;`
while(!(boy.赚钱 > 100,000 and girl.感情 > 8 ) ) .$~3RjM
{ ltOS()[X
for( day=1; day <=365; day++) @.sn
{ iZTU]+z!
if( day == 情人节 ) #GGa, @O
if( boy.givegirl(玫瑰) ) xR-;,=J
girl.感情++; ,?LE5]
else '$,yV f
girl.感情--; k*_Gg
Sk
EI51]
if( day == girl.生日) 4lPO*:/
if( boy.givegirl(玫瑰) ) e,Cc.T\o
girl.感情++; [ as,AX
else W9l](Ow
girl.感情--; 9{(q[C5m
boy.拼命赚钱(); zgFL/a<
} r!b>!
} <5L99<E
if( boy.有房() and boy.有车() ) =9TwBr.CJ
{ 0Fkr3x
boy.set(nothing); z1b@JCWE
return girl.嫁给(boy); \i?bt0 bM
} 7 Td
9mkO
年龄++; 1E$\&*(
girl.感情--; 5ppr;QaB
} G#Bm">+
return girl.goto( another_boy); io\t>_
}