I can not understand the program, help!

In the array of positive and negative integers A [4,4], obtained randomly, calculate the sum of the elements of the secondary diagonal and the third column. If the sum of the elements of the side diagonal is greater than the sum of the elements of the third column, then select from the array all the numbers less than 25, and write them into a one-dimensional array, which is then sorted in ascending order. Otherwise, count the number of even numbers in array A and write it in place of the third element of the first sink.