given a square matrix of size n x n, calculate the absolute difference between the sums of its diagonals.
Answers
Answered by
0
The answer is zerohere as both values are same
Answered by
0
Answer:
Explanation:
Given a square matrix of size N X N, calculate the absolute difference between the sums of its diagonals.
Input Format
The first line contains a single integer, N. The next N lines denote the matrix’s rows, with each line containing N space-separated integers describing the columns.
Similar questions