diff --git a/Start.cs b/Start.cs index cb3cae5..ccfd6f4 100644 --- a/Start.cs +++ b/Start.cs @@ -140,6 +140,25 @@ public class Start int B = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Step: " + pract.stepNum(A, B)); break; + + case 8: + Console.WriteLine("Input size mass"); + int size = Convert.ToInt32(Console.ReadLine()); + Console.WriteLine("Input min"); + int min = Convert.ToInt32(Console.ReadLine()); + Console.WriteLine("Input max"); + int max = Convert.ToInt32(Console.ReadLine()); + pract.chengeMass(pract.newRandomMass(size, min, max)); + break; + + case 9: + Console.WriteLine("Input min"); + int min1 = Convert.ToInt32(Console.ReadLine()); + Console.WriteLine("Input max"); + int max1 = Convert.ToInt32(Console.ReadLine()); + Console.WriteLine("Count: " + pract.mass20random(pract.newRandomMass(20, min1, max1))); + + break; default: Console.WriteLine("Wrong task"); diff --git a/bin/Debug/net6.0/programming_GB.dll b/bin/Debug/net6.0/programming_GB.dll index e4d21e1..74431eb 100644 Binary files a/bin/Debug/net6.0/programming_GB.dll and b/bin/Debug/net6.0/programming_GB.dll differ diff --git a/bin/Debug/net6.0/programming_GB.pdb b/bin/Debug/net6.0/programming_GB.pdb index bef17dd..3ee28be 100644 Binary files a/bin/Debug/net6.0/programming_GB.pdb and b/bin/Debug/net6.0/programming_GB.pdb differ diff --git a/obj/Debug/net6.0/programming_GB.dll b/obj/Debug/net6.0/programming_GB.dll index e4d21e1..74431eb 100644 Binary files a/obj/Debug/net6.0/programming_GB.dll and b/obj/Debug/net6.0/programming_GB.dll differ diff --git a/obj/Debug/net6.0/programming_GB.pdb b/obj/Debug/net6.0/programming_GB.pdb index bef17dd..3ee28be 100644 Binary files a/obj/Debug/net6.0/programming_GB.pdb and b/obj/Debug/net6.0/programming_GB.pdb differ diff --git a/obj/Debug/net6.0/ref/programming_GB.dll b/obj/Debug/net6.0/ref/programming_GB.dll index d684cd3..94714fd 100644 Binary files a/obj/Debug/net6.0/ref/programming_GB.dll and b/obj/Debug/net6.0/ref/programming_GB.dll differ diff --git a/obj/Debug/net6.0/refint/programming_GB.dll b/obj/Debug/net6.0/refint/programming_GB.dll index d684cd3..94714fd 100644 Binary files a/obj/Debug/net6.0/refint/programming_GB.dll and b/obj/Debug/net6.0/refint/programming_GB.dll differ