钱、车、房、能力
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("一边去吧!"); } } } } }
相关文章推荐
- [MeetCoder] Crossing Bridge
- Scala中的 apply
- TJU-3852 Haitang1(其他)
- 烂泥:学习centos之快速搭建LNMP环境
- Objective-C中的方法
- 使用Git管理自己的项目
- iOS --- 搜索框UISearchController的使用(iOS8.0以后替代UISearchBar + UISearchDisplayController的组合)
- Debug过程中的mock (及display窗口的使用)
- 三数中找最大值
- MyReport.Form表单引擎
- gradle(一)
- 单调队列与单调栈
- Hive基础学习
- 代理模式(转)
- OC相关基础知识2
- 推荐!国外程序员整理的 C++ 资源大全
- 欢迎使用CSDN-markdown编辑器
- 函数指针
- windows平台升级ORACLE11.2.0.1到11.2.0.4
- 实例解释瀑布流图的实现原理与方法