摘要: 题目:输入一个24小时制的整数时间,判断所在时间段。 int a,b; a = int.Parse(Console .ReadLine());//输入的时间 b = 12; string s; s = a-b > 0 ?a-b+"pm" :a+"am" ; Console.... 阅读全文
posted @ 2015-06-01 08:54 逆风的刃 阅读(153) 评论(0) 推荐(0) 编辑