diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp1.sln" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp1.sln"
new file mode 100644
index 0000000000000000000000000000000000000000..2645d2f50d0be42ebb704c1e581a749035239125
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp1.sln"
@@ -0,0 +1,61 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.30320.27
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo1", "ConsoleApp1\Demo1.csproj", "{C1A0DB6A-0792-4B32-9D63-17146ECCC79C}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo2", "Demo2\Demo2.csproj", "{54AB153B-27F4-4DC9-B8D1-D8E7436C1AAB}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo3", "Demo3\Demo3.csproj", "{C1EB964E-F4B9-44D6-9A92-8CB747A9A183}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo4", "Demo4\Demo4.csproj", "{1C064F49-25BC-4B4F-8B8E-C7EB970C06A9}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo5", "Demo5\Demo5.csproj", "{47183AEF-E66F-4EED-971C-2078DB5379BC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo6", "ConsoleApp2\Demo6.csproj", "{5B998F57-C74D-46BE-90BB-58C2F58F125D}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo7", "Demo7\Demo7.csproj", "{697557CD-5FED-4E60-9B93-03EF3DA5C35F}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {C1A0DB6A-0792-4B32-9D63-17146ECCC79C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C1A0DB6A-0792-4B32-9D63-17146ECCC79C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C1A0DB6A-0792-4B32-9D63-17146ECCC79C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C1A0DB6A-0792-4B32-9D63-17146ECCC79C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {54AB153B-27F4-4DC9-B8D1-D8E7436C1AAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {54AB153B-27F4-4DC9-B8D1-D8E7436C1AAB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {54AB153B-27F4-4DC9-B8D1-D8E7436C1AAB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {54AB153B-27F4-4DC9-B8D1-D8E7436C1AAB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C1EB964E-F4B9-44D6-9A92-8CB747A9A183}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C1EB964E-F4B9-44D6-9A92-8CB747A9A183}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C1EB964E-F4B9-44D6-9A92-8CB747A9A183}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C1EB964E-F4B9-44D6-9A92-8CB747A9A183}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1C064F49-25BC-4B4F-8B8E-C7EB970C06A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1C064F49-25BC-4B4F-8B8E-C7EB970C06A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1C064F49-25BC-4B4F-8B8E-C7EB970C06A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1C064F49-25BC-4B4F-8B8E-C7EB970C06A9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {47183AEF-E66F-4EED-971C-2078DB5379BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {47183AEF-E66F-4EED-971C-2078DB5379BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {47183AEF-E66F-4EED-971C-2078DB5379BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {47183AEF-E66F-4EED-971C-2078DB5379BC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5B998F57-C74D-46BE-90BB-58C2F58F125D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5B998F57-C74D-46BE-90BB-58C2F58F125D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5B998F57-C74D-46BE-90BB-58C2F58F125D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5B998F57-C74D-46BE-90BB-58C2F58F125D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {697557CD-5FED-4E60-9B93-03EF3DA5C35F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {697557CD-5FED-4E60-9B93-03EF3DA5C35F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {697557CD-5FED-4E60-9B93-03EF3DA5C35F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {697557CD-5FED-4E60-9B93-03EF3DA5C35F}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {D9D6841B-6663-4834-AFD0-81CCBA1132FF}
+ EndGlobalSection
+EndGlobal
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp1/Demo1.csproj" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp1/Demo1.csproj"
new file mode 100644
index 0000000000000000000000000000000000000000..d453e9a07115e38f587d8e299b4fc2d68f0f4d74
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp1/Demo1.csproj"
@@ -0,0 +1,8 @@
+
+
+
+ Exe
+ netcoreapp3.1
+
+
+
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp1/Program.cs" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp1/Program.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..2c65b330ee90bde7844589108fbcf48019d85f62
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp1/Program.cs"
@@ -0,0 +1,17 @@
+using System;
+
+namespace Demo1
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("请输入圆的半径");
+ double r = int.Parse(Console.ReadLine());
+ const float π = 3.14f;
+ double S = π * r * r;
+ Console.WriteLine("圆的面积为:"+S);
+ Console.ReadKey();
+ }
+ }
+}
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp2/App.config" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp2/App.config"
new file mode 100644
index 0000000000000000000000000000000000000000..57547288bc6146d6494f7eb02bba6f92758ff00c
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp2/App.config"
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp2/Demo6.csproj" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp2/Demo6.csproj"
new file mode 100644
index 0000000000000000000000000000000000000000..300cd39487da9ad1781c57a8909fb6de06f2187e
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp2/Demo6.csproj"
@@ -0,0 +1,53 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {5B998F57-C74D-46BE-90BB-58C2F58F125D}
+ Exe
+ ConsoleApp2
+ ConsoleApp2
+ v4.7.2
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp2/Program.cs" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp2/Program.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..b7b5ee76cb3fdbd81befb0f8b6426437f3e6f9e5
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/ConsoleApp2/Program.cs"
@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Demo6
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ for (int i = 1; i <= 10; i++)
+ {
+ for (int k = 9; k >= i; k--)
+ {
+ Console.Write(" ");
+ }
+ for (int j = 1; j <= i*2-1; j++)
+ {
+ Console.Write("*");
+ }
+ Console.WriteLine();
+ }
+ for (int i = 9; i >=1 ; i--)
+ {
+ for (int k = i-1; k <=8 ; k++)
+ {
+ Console.Write(" ");
+ }
+ for (int j = 1; j <= i * 2 - 1; j++)
+ {
+ Console.Write("*");
+ }
+ Console.WriteLine();
+ }
+ Console.ReadKey();
+ }
+ }
+}
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo2/Demo2.csproj" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo2/Demo2.csproj"
new file mode 100644
index 0000000000000000000000000000000000000000..d453e9a07115e38f587d8e299b4fc2d68f0f4d74
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo2/Demo2.csproj"
@@ -0,0 +1,8 @@
+
+
+
+ Exe
+ netcoreapp3.1
+
+
+
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo2/Program.cs" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo2/Program.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..594339342b6bf45f0b63ae11ef425d935ff22623
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo2/Program.cs"
@@ -0,0 +1,22 @@
+using System;
+
+namespace Demo2
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("请输入一个四位整数:");
+ int num = int.Parse(Console.ReadLine());
+ int a = num / 1000;
+ int b = num / 100 % 10;
+ int c = num / 10 % 10;
+ int d = num % 10;
+ Console.WriteLine("用户输入的千位为:" + a);
+ Console.WriteLine("用户输入的百位为:" + b);
+ Console.WriteLine("用户输入的十位为:" + c);
+ Console.WriteLine("用户输入的个位为:" + d);
+ Console.ReadKey();
+ }
+ }
+}
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo3/Demo3.csproj" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo3/Demo3.csproj"
new file mode 100644
index 0000000000000000000000000000000000000000..d453e9a07115e38f587d8e299b4fc2d68f0f4d74
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo3/Demo3.csproj"
@@ -0,0 +1,8 @@
+
+
+
+ Exe
+ netcoreapp3.1
+
+
+
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo3/Program.cs" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo3/Program.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..8c0d15e2901652e3e6ad3a3df3ecee345832b9bd
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo3/Program.cs"
@@ -0,0 +1,32 @@
+using System;
+
+namespace Demo3
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("请输入第一个数:");
+ double one = double.Parse(Console.ReadLine());
+ Console.WriteLine("请输入第二个数:");
+ double two = double.Parse(Console.ReadLine());
+ Console.WriteLine("请输入第三个数:");
+ double three = double.Parse(Console.ReadLine());
+ double max;
+
+ if (one > two && one > three)
+ {
+ Console.WriteLine("最大数为:" + one);
+ }
+ else if (two > one && two > three)
+ {
+ Console.WriteLine("最大数为:" + two);
+ }
+ else if (three > one && three > two)
+ {
+ Console.WriteLine("最大数为:" + three);
+ }
+ Console.ReadKey();
+ }
+ }
+}
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo4/Demo4.csproj" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo4/Demo4.csproj"
new file mode 100644
index 0000000000000000000000000000000000000000..d453e9a07115e38f587d8e299b4fc2d68f0f4d74
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo4/Demo4.csproj"
@@ -0,0 +1,8 @@
+
+
+
+ Exe
+ netcoreapp3.1
+
+
+
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo4/Program.cs" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo4/Program.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..bf332a828b93ed3de0907c1a0438c7ccfd735b61
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo4/Program.cs"
@@ -0,0 +1,20 @@
+using System;
+
+namespace Demo4
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("请输入一个整数:");
+ int n = int.Parse(Console.ReadLine());
+ int num = 1;
+ for (int i = 1; i <= n; i++)
+ {
+ num = num*i;
+ }
+ Console.WriteLine("该数的阶乘为:"+num);
+ Console.ReadKey();
+ }
+ }
+}
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo5/Demo5.csproj" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo5/Demo5.csproj"
new file mode 100644
index 0000000000000000000000000000000000000000..d453e9a07115e38f587d8e299b4fc2d68f0f4d74
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo5/Demo5.csproj"
@@ -0,0 +1,8 @@
+
+
+
+ Exe
+ netcoreapp3.1
+
+
+
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo5/Program.cs" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo5/Program.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..689b4b743ca89cdb82993b551e0b6e79eb43871c
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo5/Program.cs"
@@ -0,0 +1,25 @@
+using System;
+
+namespace Demo5
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("请输入一个整数n:");
+ int n = int.Parse(Console.ReadLine());
+ int num2 = 0;
+ for (int i = 1; i <= n; i++)
+ {
+ int num1 = 1;
+ for(int j = 1; j <= i; j++)
+ {
+ num1 *= j;
+ }
+ num2 += num1;
+ }
+ Console.WriteLine(n+"到1所有数的阶乘和="+num2);
+ Console.ReadKey();
+ }
+ }
+}
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo6/Demo6.csproj" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo6/Demo6.csproj"
new file mode 100644
index 0000000000000000000000000000000000000000..d453e9a07115e38f587d8e299b4fc2d68f0f4d74
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo6/Demo6.csproj"
@@ -0,0 +1,8 @@
+
+
+
+ Exe
+ netcoreapp3.1
+
+
+
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo6/Program.cs" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo6/Program.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..61696474f4fbb33937f8edf5cd958ce0139622ce
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo6/Program.cs"
@@ -0,0 +1,20 @@
+using System;
+
+namespace Demo6
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ for(int i = 1 ; i <= 20 ; i++)
+ {
+ for(int j = 1; j <=10; j++)
+ {
+ Console.Write("*");
+ }
+ Console.WriteLine();
+ }
+ Console.ReadKey();
+ }
+ }
+}
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo7/App.config" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo7/App.config"
new file mode 100644
index 0000000000000000000000000000000000000000..57547288bc6146d6494f7eb02bba6f92758ff00c
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo7/App.config"
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo7/Demo7.csproj" "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo7/Demo7.csproj"
new file mode 100644
index 0000000000000000000000000000000000000000..889dd0f6cbd8cdc364291dcd80f1f2207b49ea12
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/ConsoleApp1/Demo7/Demo7.csproj"
@@ -0,0 +1,53 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {697557CD-5FED-4E60-9B93-03EF3DA5C35F}
+ Exe
+ Demo7
+ Demo7
+ v4.7.2
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/5-10 C#\344\275\234\344\270\232/Program.cs" "b/5-10 C#\344\275\234\344\270\232/Program.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..89a4b0b4c34c00a0004f8ffe30326230e3b4f0e9
--- /dev/null
+++ "b/5-10 C#\344\275\234\344\270\232/Program.cs"
@@ -0,0 +1,118 @@
+using System;
+
+namespace ConsoleApp1
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ //1. 求圆的面积
+ //要求用户输入半径的值,打印出以此值为半径的圆的面积
+ const double Π = 3.14; //加const代表常量
+ Console.WriteLine("请输入圆半径的值");
+ int r = int.Parse(Console.ReadLine());
+ double r2 = Π * r * r;
+ Console.WriteLine("圆的面积:" + r2);
+ Console.WriteLine("\n");
+
+ //2.请用户输入一个四位整数,将用户输入的四位数的
+ //千位、百位、十位和个位分别显示出来
+ Console.WriteLine("请用户输入一个四位整数");
+ int a = int.Parse(Console.ReadLine());
+ int aa1 = a % 10;
+ int aa2 = a % 100 / 10;
+ int aa3 = a % 1000 / 100;
+ int aa4 = a / 1000;
+ Console.WriteLine("个位是:" + aa1 + "\t" + "十位是:" + aa2 + "\t" + "百位是:" + aa3 + "\t" + "千位是:" + aa4);
+ Console.WriteLine("\n");
+
+ //3. 用户输入三个数,找出最大的数,打印输出。
+ Console.WriteLine("输入第一位数");
+ int a1 = int.Parse(Console.ReadLine());
+ Console.WriteLine("输入第二位数");
+ int a2 = int.Parse(Console.ReadLine());
+ Console.WriteLine("输入第三位数");
+ int a3 = int.Parse(Console.ReadLine());
+ if (a1 > a2 && a1 > a3)
+ {
+ Console.WriteLine("最大数是:" + a1);
+ }
+ else if (a2 > a1 && a2 > a3)
+ {
+ Console.WriteLine("最大数是:" + a2);
+ }
+ else if (a3 > a1 && a3 > a2)
+ {
+ Console.WriteLine("最大数是:" + a3);
+ }
+ Console.WriteLine("\n");
+
+ //4. 接受用户输入一个数n,求这个数的阶乘;5! = 5*4*3*2*1;
+ Console.WriteLine("请输入阶乘");
+ int n = int.Parse(Console.ReadLine());
+ int s = n;
+ for (int i = n - 1; i > 0; i--)
+ {
+ s = s * i;
+ }
+ Console.Write(n + "! = " + n);
+ for (int i = n - 1; i > 0; i--)
+ {
+ Console.Write("*" + i);
+ }
+ Console.WriteLine("\n");
+
+ //5. 接受用户输入的一个数n,求n到1所有数的阶乘和;n!+(n-1!)+(n-2)!+……+1!
+ Console.WriteLine("请用户输入一个数");
+ int n5 = int.Parse(Console.ReadLine());
+ int ss= 0;
+ for (int i = 0; i < n5; i++)
+ {
+ ss = s + (n5 - i);
+ }
+ Console.Write(ss + "=" + n5);
+ for (int i = 1; i < n5; i++)
+ {
+ Console.Write("+(" + n5 + "-" + i + ")");
+ }
+ Console.WriteLine("\n");
+
+ //6.用循环打印菱形
+ for (int i = 1; i < 5; i++)
+ {
+ for (int j = 5; j > i; j--)
+ {
+ Console.Write(" ");
+ }
+ for (int k = 0; k < i * 2 - 1; k++)
+ {
+ Console.Write("*");
+ }
+ Console.WriteLine();
+ }
+ for (int i = 5; i > 0; i--)
+ {
+ for (int j = i; j < 5; j++)
+ {
+ Console.Write(" ");
+ }
+ for (int k = 0; k < i*2-1; k++)
+ {
+ Console.Write("*");
+ }
+ Console.WriteLine();
+ }
+ Console.WriteLine("\n");
+
+ //7. 用循环打印九九乘法表
+ for (int i = 1; i <= 9; i++)
+ {
+ for (int j = 1; j <= i; j++)
+ {
+ Console.Write(i + "*" + j + " = " + i * j + " ");
+ }
+ Console.WriteLine();
+ }
+ }
+ }
+}
diff --git "a/5-10 C#\344\275\234\344\270\232/Zbc.zip" "b/5-10 C#\344\275\234\344\270\232/Zbc.zip"
new file mode 100644
index 0000000000000000000000000000000000000000..df5ff65d57faa56fb0c7fa48c414354456be29de
Binary files /dev/null and "b/5-10 C#\344\275\234\344\270\232/Zbc.zip" differ
diff --git "a/5-10 C#\344\275\234\344\270\232/\346\237\257\346\231\250\346\230\212.zip" "b/5-10 C#\344\275\234\344\270\232/\346\237\257\346\231\250\346\230\212.zip"
new file mode 100644
index 0000000000000000000000000000000000000000..f395db4122f959a318f2ad82a12f759a13051308
Binary files /dev/null and "b/5-10 C#\344\275\234\344\270\232/\346\237\257\346\231\250\346\230\212.zip" differ
diff --git "a/5-10 C#\344\275\234\344\270\232/\350\213\217\347\201\277\350\216\271.rar" "b/5-10 C#\344\275\234\344\270\232/\350\213\217\347\201\277\350\216\271.rar"
new file mode 100644
index 0000000000000000000000000000000000000000..b0079380a384862486e10e617412848a9db6bbf7
Binary files /dev/null and "b/5-10 C#\344\275\234\344\270\232/\350\213\217\347\201\277\350\216\271.rar" differ
diff --git "a/5-10 C#\344\275\234\344\270\232/\350\251\271\345\223\201\346\235\260.zip" "b/5-10 C#\344\275\234\344\270\232/\350\251\271\345\223\201\346\235\260.zip"
new file mode 100644
index 0000000000000000000000000000000000000000..37722ce508fde207d5a68f872924400b1efac8e1
Binary files /dev/null and "b/5-10 C#\344\275\234\344\270\232/\350\251\271\345\223\201\346\235\260.zip" differ