Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.Collections.Generic;
- using System.Numerics;
- using System.Text;
- namespace exampreparation
- {
- class exam
- {
- static void Main(string[] args)
- {
- int number = int.Parse(Console.ReadLine());
- Matrix(number);
- }
- static void Matrix(int number)
- {
- for (int i = 0; i < number; i++)
- {
- Console.WriteLine();
- for (int j = 0; j < number; j++)
- {
- Console.Write(number + " ");
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement