Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 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.  
  7. namespace ConsoleApp2
  8. {
  9.  
  10. class Program
  11. {
  12.  
  13. public static void Main()
  14. {
  15.  
  16. int i, j;
  17. double[,] arr1 = new double[10, 10];
  18.  
  19. for (i = 0; i < 10; i++)
  20. {
  21. for (j = 0; j < 10; j++)
  22. {
  23. if (i >= 1 && j >= 1)
  24. {
  25. Console.Write("{0}\t", arr1[i, j] = i * j);
  26.  
  27. }
  28.  
  29. }
  30.  
  31. Console.Write("\n\n");
  32. }
  33. Console.Write("\n\n");
  34. Console.ReadKey();
  35. }
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement