PROGRAM TO CALCULATE SUM OF DIAGONAL ELEMENTS OF A MATRIX
/*PROGRAM TO CALCULATE SUM OF DIAGONAL ELEMENTS OF A MATRIX*/ #include<conio.h> #include<iostream.h> class sum_elements { int i,j,m,n,a[5][5],sum; public: void input(); void output(); }; void sum_elements::input() { cout<<“Enter the order of …