Intern — Senior
Creating a square matrix from unique positive numbers
livecode
Task condition
Given a simple integer n (from 2 to 7), which specifies the size of the side of a square matrix. It is necessary to write a program that forms an n × n matrix filled with different positive integers.