摘要:
//数组! // int[] shuzu = new int[6] { 1, 2, 3, 4, 5, 6 };//索引是从0开始。[]内表示数组包含的数值 个数! // int i = shuzu[2];//此处2 表示数组shuzu的索引!这是引用数组的格式! /* int[] shuzu =... 阅读全文
摘要:
//double d = double.Parse(Console.ReadLine()); //d = Math.PI;//圆周率 //d = Math.Sqrt(d);//开方 //d = Math.Ceiling(d);//当为整数取整,当小数点后大于0,取上限加1进位取整. //d = M... 阅读全文