I was wondering how I should approach this problem.
The directions are to write a set of nested for loops that go through each row of secretData, computes the sum of all the elements in that row, and saves the result to the corresponding row of sumOfSecretData.
secretData is an 18-row by 62-column array of integers: int secretData[18][62]sumOfSecretData is an 18-row array of integers : int sumOfSecretData[18]
What exactly is the problem? Don't you know how to write a loop? Don't you know how to access an array element? Or don't you know how to add two numbers?