desislava_topuzakova

02. Наредени двойки

Jun 12th, 2021
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3.  
  4. namespace Demo
  5. {
  6. class Program
  7. {
  8. static void Main(string[] args)
  9. {
  10. int m = int.Parse(Console.ReadLine());
  11. int n = int.Parse(Console.ReadLine());
  12.  
  13. for (int p = 1; p <= m; p++)
  14. {
  15. for (int q = 1; q <= n; q++)
  16. {
  17. Console.WriteLine(p + "" + q);
  18. }
  19. }
  20.  
  21.  
  22. }
  23.  
  24. }
  25. }
  26.  
Advertisement
Add Comment
Please, Sign In to add comment