大家快看过来!!!用JAVA程序来选择你的真爱!!!
import java.love.*;
public class SelectBoy{
public RESULT loveSelect(boy, girl){
if( boy.有房() & 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.感情--;
else if( day == girl.生日)
if( boy.giveGirl(玫瑰) )
girl.感情++;
else
girl.感情--;
boy.拼命赚钱();
}
年龄++;
girl.感情--;
if( boy.有房() & boy.有车() )
{
boy.Set(Nothing);
return girl.嫁给(boy);
}
else if( boy.赚钱 > 100,000 & girl.感情 > 8 )
continue next_year;
else
return girl.goto( another_boy);
}
return girl.goto( another_boy);
}
public static void main(String [] args){
SelectBoy my_truelove = new SelectBoy();
RESULT my_result;
my_result = my_truelove.loveSelect(I, my_another_GF);
if( my_result == my_another_GF.嫁给(I) ){
I.start_HappyLife;
while(true){
I.makeMoreRMB;
I.HappyLife++;
if(I.outOfWork | I.inHeaven | MyHoney.红杏出墙)
break;
}
}
else
I.goto五台山;
}
}