Pregunta de entrevista de Intel Corporation

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