/Magic-Squares-Generator

A magic square is a matrix of distinct positive integers from 1 to n^2 where the sum of any row, column, or diagonal of length is always equal to the same number: the magic constant.

Primary LanguageC++

Magic-Squares-Generator

A magic square is a matrix of distinct positive integers from 1 to n^2 where the sum of any row, column, or diagonal of length is always equal to the same number: the magic constant.