guochen

  C++博客 :: 首页 :: 联系 :: 聚合  :: 管理
  6 Posts :: 0 Stories :: 0 Comments :: 0 Trackbacks

常用链接

留言簿(2)

我参与的团队

搜索

  •  

积分与排名

  • 积分 - 4033
  • 排名 - 1645

最新评论

阅读排行榜

评论排行榜

 

 1 result love(boy, girl)      //   happy or unhappy ? that is a question.
 2 {
 3     if( boy.有房() and boy.有车() )   
 4     {
 5         boy.set(nothing);
 6         return girl.嫁给(boy);   //
 7     }
 8     if( girl.愿意等() )        
 9     {
10     while(!(boy.赚钱 > 100,000 and girl.感情 > 8 ) )
11     {
12         for( day=1; day <=365; day++)
13         {
14             if( day == 情人节 )
15             if( boy.givegirl(玫瑰) )
16                 girl.感情++;
17             else
18                 girl.感情--;  
19             if( day == girl.生日 )
20             if( boy.givegirl(玫瑰) )
21             {
22                 girl.感情++;
23             else
24                 girl.感情--;
25                 boy.拼命赚钱();
26             }
27         }
28         if( boy.有房() and boy.有车() )
29         {
30             boy.set(nothing);
31             return girl.嫁给(boy);      //
32         }
33         年龄++;
34         girl.感情--;
35     }
36     return girl.goto( another_boy);
37 
posted on 2006-06-19 19:08 郭晨 阅读(341) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理