Another Simple c++ program
$30-5000 USD
Pagado a la entrega
A magic square is an N-by-N array of integers such that the sum of the values of each row,column,and main diagonals are all equal. For example: 16 9 2 7 6 3 12 13 11 14 5 4 1 8 15 10 I want you to write a program to read the size of a magic square, then read in each row's values and then determine whether the square is a magic square. You may assume that the size of the square is 10 or less. The program should continue to execute until a 0 is enterred for the square size. Sample execution: Enter Size ( Zero to stop) -> 4 Enter the Rows of the Square below: 16 9 2 7 6 3 12 13 11 14 5 4 1 8 15 10 * Magic Square * Enter Size ( Zero to stop) -> 3 Enter the Rows of the Square below: 2 2 2 1 4 1 0 0 0 * Not a Magic Square * Enter Size ( Zero to stop) -> 0 You need to write this in C++ and add comments explaining what is what. Call this program magic.cpp. I need this program AS SOON AS POSSIBLE!!!!!!!!
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
## Platform
Visual C++ Windows XP
Nº del proyecto: #3192921