```py def check_diag_sum(array_row1, array_row2, array_row3, size): diag_sum = 0 diag_sum2 = 0 for i in range(size): diag_sum += array_row1[i] diag_sum2 += array_row3[i] if diag_sum != diag_sum2: return False ```
lol i already know you can write c++