Question d’entretien chez Intel Corporation

write a program that checks if a matrix is a magic square