Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Linq;
  7.  
  8. namespace kolo3
  9. {
  10. class Program
  11. {
  12. static void Main(string[] args)
  13. {
  14. Random a = new Random();
  15.  
  16. int[] t = new int[10];
  17. for(int i=0; i<t.Length;i++)
  18. {
  19. t[i] = a.Next(1, 20);
  20. Console.WriteLine(t[i]);
  21. }
  22. Console.WriteLine("___________");
  23. Console.WriteLine(t.Min());
  24. Console.ReadKey();
  25. }
  26.  
  27. }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement