一個(gè)女生用C語言寫的愛情函數(shù)
一個(gè)女生用C語言寫的愛情函數(shù)
result love(boy, girl)
{
if ( boy.有房() and boy.有車() )
{
boy.set(nothing);
return girl.嫁給(boy);
}
else if ( girl.愿意等() )
{
while( ! (boy.賺錢 > 100,000 and girl.感情 > 8 ) )
{
for ( day=1; day <=365; day++)
{
if ( day == 情人節(jié) )
if ( boy.givegirl(玫瑰) )
girl.感情++;
else
girl.感情--;
if( day == girl.生日)
if ( boy.givegirl(玫瑰) )
girl.感情++;
else
girl.感情--;
boy.拼命賺錢();
if( girl.耐心 == 0 girl.有其它追求者)
{
girl.goto( another_boy);
boy.郁悶中();
boy.天天到軍壇灌水();
return 沒有結(jié)果;
}
}
}
try
{
girl.要男友買房();
girl.要男友買車();
girl.每天逛專賣店();
if ( boy.有房() boy.有車() )
{
girl.去澳洲旅游(boy);
girl.到英國威斯敏斯結(jié)婚(boy);
girl.嫁給(boy);
boy.沒日沒夜掙錢();
}
}
catch()
{
girl.byebye(boy);
boy.郁悶中();
boy.天天到天涯灌水();
return girl.broadcast(“這個(gè)男人真小氣“);
}
return girl.每天逛專賣店();
}
return girl.goto( another_boy);
}
評(píng)論