12   1  /  2  页   跳转

某女生编的c语言程序

某女生编的c语言程序

某女生编的c语言程序

Dear all:





result love(boy, girl)

{-

  if ( boy.有房() and boy.有车() )

   {-

    boy.set(nothing);

    return girl.嫁给(boy);

  }

  if ( girl.愿意等() )

  {-

   while( ! (boy.赚钱 > 100,000 and girl.感情 > 8 )



   {-

    for ( day=1; day <=365; day++)

    {-

     if ( day == 情人节 )

     if ( boy.givegirl(玫瑰) )

      girl.感情++;

      else

       girl.感情--;



        if( day == girl.生日)

     if ( boy.givegirl(玫瑰) )

        girl.感情++;

        else

        girl.感情--;



      boy.拼命赚钱();

      }

     }

    if ( boy.有房() and boy.有车() )

   {-

   boy.set(nothing);

 return girl.嫁给(boy);

 }



   年龄++;

   girl.感情--;

   }



  return girl.goto( another_boy);
最后编辑2006-07-28 09:46:16
分享到:
gototop
 

不会C语言,编好后是什么样的,发出来看看
gototop
 

不懂````
gototop
 

虽然看不懂C语言,但是IF语句用得不错啊
gototop
 

这个可能是编译不出来的
gototop
 

虽然不懂C语言,但要说明的意思大概看懂了。 现实翻了!
gototop
 

gototop
 

哦  已阅
gototop
 

....昏过去
printf"无聊"
gototop
 

没赋值!
gototop
 
12   1  /  2  页   跳转
页面顶部
Powered by Discuz!NT