public   class   What_is_love 

public   static   void   main(String[]   args) 
{   
int   day=0; 
boolean   say_good_bye=false,she_say_love_me=true;   
while(!say_good_bye) 

if(day++==365){   System.out.println("我们分手吧,我要结婚了,新郎不是你."); 
say_good_bye=true; 
she_say_love_me=false; 


}

解决方案 »

  1.   

    ...
    boolean say_good_bye=false,she_say_love_me=true;  
    while(!say_good_bye)   
    {   
    int day=0;
    if(day++==365){       System.out.println("我们分手吧,我要结婚了,新郎不是你.");   
    say_good_bye=true;   
    she_say_love_me=false;   
    }   
    ...
      

  2.   

    public       class       What_is_love   
    {   
    public       static       void       main(String[]       args)   
    {       
    int       day=0;   
    boolean       say_good_bye=false,she_say_love_me=true;       
    while(!say_good_bye)   
    {   
    if(day++==365){       System.out.println("我们分手吧,我要结婚了,新郎不是你.");   
    say_good_bye=true;   
    she_say_love_me=false;   
    }   
    }   
    }
    System.out.println("您的幸福天数为:"+day);
      

  3.   

    finally{
        System.out.println("My heart will go on!!!");
    }
      

  4.   

    public               class               What_is_love       
    {       
    public               static               void               main(String[]               args)       
    {               
    int               day=0;       
    boolean               say_good_bye=false,she_say_love_me=true;               
    while(!say_good_bye)       
    {       
    if(day++==365){               System.out.println("我们分手吧,我要结婚了,新郎不是你.");       
    say_good_bye=true;       
    she_say_love_me=false;       //she_say_love_me=true;   still love u  lz     
    }       
    }       
      

  5.   

    finally{
        System.out.println("My heart will go on!!!");
    }哈哈
      

  6.   

     8cuo 啊 顶上来
    My   heart   will   go   on
      

  7.   

    public       static       void       main(String[]       args)   
    {       
       String[] str = {"虽","然","我","要","结","婚","了,","但","是","我","爱","的","还","是","你"};
       for(int i=0;i<str.length;i++)
       {
       System.out.println(str[i]);
       try {
    Thread.sleep(1000);
    } catch (Exception e) {
    e.printStackTrace();
    }
       }
    }
      

  8.   


     
    public static void main(String[] args)
    {
      if(xinlang!=me)
    {
    while(true)
       System.out.println("马加爵牌锤子伺候");
    }
    }
      

  9.   


        System.exit(0);
      

  10.   


    public void ZhuiQiuShe(){
    while(she_not_love_you){
    ZhuiQiuShe();
    }
    }
      

  11.   

    伪代码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);   
         }