0

what input is required

how many arguments is this asking for mainDiagonalElementSum ( int[][] array) {}

18th Apr 2019, 10:30 PM
Lees
1 Odpowiedź
0
The function mainDiagonalElementSum seems a function that calculates the sum of the elements along the main diagonal of a two-dimensional array. The input required for this function is a two-dimensional array of integers (int[][] array). It's asking for a single argument, which is a two-dimensional array of integers.
20th Apr 2024, 5:40 AM
`ᴴᵗᵗየ
`ᴴᵗᵗየ - avatar