您的位置:首页 > 其它

钱、车、房、能力

2015-07-14 21:06 246 查看
//你有钱吗?你有房子吗?你有车吗?你有能力吗?
Console.WriteLine("你有钱吗?");
string a = Console.ReadLine();
if (a == "有钱")
{
Console.WriteLine("我们继续聊聊吧!");
}
else
{
Console.WriteLine("你有房子吗?");
string b = Console.ReadLine();

if (b == "有房")
{
Console.WriteLine("去看看房子吧");
}
else
{
Console.WriteLine("你有车吗?");
string c = Console.ReadLine();
if (c == "有车")
{
Console.WriteLine("去兜兜风吧!");
}
else
{
Console.WriteLine("你有能力吗?");
string d = Console.ReadLine();
if (d == "有能力")
{
Console.WriteLine("我们谈谈吧!");
}
else
{
Console.WriteLine("一边去吧!");
}
}
}
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: