摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; /* * 编一个程序 * 输入一个字符 * 如果是大写字母 * 就转换成小写字母 * 否则不转换。 */ namespace PI { class Program { static... 阅读全文
posted @ 2016-04-29 22:31 Releed 阅读(4917) 评论(0) 推荐(1) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; /* * 编一个程序 * 从键盘上输入三个数 * 用三元运算符(? :)把最大数找出来。 */ namespace PI { class Program { static void M... 阅读全文
posted @ 2016-04-29 22:14 Releed 阅读(11453) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; /* * 编一个程序,定义三个double类型的变量 * 分别从键盘上输入值给它们 * 然后用Console.WriteLine方法把它们输出成一列 * 小数点对齐,保留3位小数 */ namespace PI {... 阅读全文
posted @ 2016-04-29 21:48 Releed 阅读(1945) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PI { class Program { static void Main(string[] args) { const Doub... 阅读全文
posted @ 2016-04-29 21:35 Releed 阅读(570) 评论(0) 推荐(0) 编辑