Program:-
Output:-
Enter Size : 3
Enter elements
2 4 6
3 7 9
5 8 2
2 4 6
3 7 9
5 8 2
sum of diagonal :
2 7 2 : 11
sum of diagonal :
6 7 5 : 18
Comments