Programmers? i need your help?

can you help me i cant find the right code how to make sum separately of a matrix
(sorry about bad english)
Update: how to find*
Update 2: i tried ... the language is C and i want to find the pink sum, then the green then the purple and find the maximum sum of those ... for any size of the square matrix.
1 answer 1