Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- namespace Demo
- {
- class Program
- {
- static void Main(string[] args)
- {
- int m = int.Parse(Console.ReadLine());
- int n = int.Parse(Console.ReadLine());
- for (int p = 1; p <= m; p++)
- {
- for (int q = 1; q <= n; q++)
- {
- Console.WriteLine(p + "" + q);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment