Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Home work3 finding Min and Max (to theGit)
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //My code goes here int [,] array = new int [10,10]; int Min = -1000; int Max = 1000; Random rannumb = new Random(); for (int i=0;i<=9;i++) { for (int j=0;j<=9;j++) { array[i,j]= rannumb.Next(Min,Max); Console.Write(array[i,j]+" "); } Console.WriteLine(""); } /*anh co array 10x10 o trong anh random so tu -1000 den 1000, bay gio em phai tim so lon nhat va so nho nhat trong array*/ ////////////////////////////////////////////////// // your code goes here! /////////////////////////////////////////////////// } } }
run
|
edit
|
history
|
help
0
Tree Node Sample
General.cs
time
testing DT Serialization
Helloworld
Herencias
DataTables Left Join
Number Comparer
adcsasxsd
LINQ - Inner Join