二维数组: public static void Main(string[] args) { int[,] a = new int[3, 3]; Random rom = new Random(); for (int x = 0; x < a.GetLength(0); x++) { for (int y = 0; y < a.GetLength(1); y++) { a[x, y] = rom.Next(31); Console.Write("{0} ", a[x, y]…
1 变量类型 1.1基本 1.2 特殊变量 ans •i,j: complex number •Inf: 无穷大 •eps: 2.2204e-016 •NaN: not a number •pi:pai 注意:关键字是可以做变量的 1.3 numeric display format 1.4 some useful functions •clc: clear command windowdisplay •clear: remove all variables in the workspace •…