I am fairly new at C++ and Im having a lot of trouble understanding how to do it. This is part of a homework assignment due next week and I have no idea how to even start it (much less finish coding it). Can anyone out there help?
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Create a 5X5 array, that is filled with integers 1, 2, 3, …25. (1 to 25) Each slot in the array must hold a unique value (ie. no number is repeated)
Write a program that reads in 25 integer values from the user and tests whether these two conditions are true.
•does each of the numbers 1 to 25 occur in the user input once each (this condition must be met)
•when the numbers are put into the array, are the sums of the rows, columns and diagonals equal to each other?
Output: a printout of the 5 x 5 array with each row of data on a separate line and a message of whether it meets the second condition (the first condition MUST be met).