class Program
    {
        static void Main(string[] args)
        {
            while (true)
            {
                string a;
                Console.WriteLine("请问你有房吗:");
                a = Console.ReadLine();
                if (a == "有")
                {
                    Console.WriteLine("请问你有车吗:");
                    a = Console.ReadLine();
                    if (a == "有")
                    {
                        Console.WriteLine("请问你有钱吗:");
                        a = Console.ReadLine();
                        if (a == "有")
                        {
                            Console.WriteLine("结婚吧");
                        }
                        else
                        {
                            Console.WriteLine("没钱吃什么");
                        }
                    }
                    else
                    {
                        Console.WriteLine("没车你来干什么");
                    }

                }
                else
                {
                    Console.WriteLine("房子都没有住大街上吗");
                }

 

 

 

 

 

 

 

                Console.ReadLine();
            }
        }
    }
}

相关文章:

  • 2021-07-10
  • 2022-12-23
  • 2021-10-10
  • 2021-09-09
  • 2022-01-18
  • 2021-05-29
  • 2022-12-23
  • 2022-01-11
猜你喜欢
  • 2022-01-02
  • 2021-07-01
  • 2021-11-29
  • 2021-12-22
  • 2021-06-26
  • 2022-12-23
  • 2021-07-09
相关资源
相似解决方案