Hey guys, first post. I am at the end of the semester and running ito some trouble. I know this question has been askd a few months ago but I looked at the code that was supplied and it didnt work. I cant get it started, I think i can get the second part to work, checking if the values add to equal eachother. Any help is appreciated.

Array Sums

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 validates that each number is input exactly once (you did this in lab 10).

When all the values are read into the two-dimensional array, test to see if the following condition holds:

o 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).