爱情程序!resultlove(boy,girl){if(boy.有房()andboy.有车()){boy.set(nothing);returngirl.嫁给(boy);}elseif(girl.愿意等()){while(!(boy.赚钱>100,000andgirl.感情>8)){for(day=1;day<=365;day++){if(day==情人节)if(boy.givegirl(玫瑰))girl.感情++;elsegirl.感情--;if(day==girl.生日)if(boy.givegirl(玫瑰))girl.感情++;elsegirl.感情--;