摘要:
static void Main(string[] args) { while (true) { int x, y,z; string a, b,c; Random r=new Random();//这个是用的随机数随机生成,并且利用switch case赋予x,y,z成为"剪刀"石头""布""的含... 阅读全文
posted @ 2015-03-28 15:17
XCml
阅读(198)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { while (true) { string a; Console.WriteLine("请问你有房吗:"); a = Console.ReadLine(); if (a == "有") { Console.WriteLine("请... 阅读全文
posted @ 2015-03-28 15:12
XCml
阅读(148)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { while (true) { double x,y; Console.Write("请输入坐车的距离:"); x = Convert.ToDouble(Console.ReadLine()); if (x>0&&x 3 && x ... 阅读全文
posted @ 2015-03-28 13:33
XCml
阅读(276)
评论(0)
推荐(0)

浙公网安备 33010602011771号