Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DIAGONAL.CPP
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ cin>>a[i][j];
cout<<"\nElements of matrix are "<<endl;
for (i=1;i<=n;i++)
{
cout<<endl;
for (j=1;j<=m;j++)
cout<<a[i][j]<<" ";
cout<<endl;
}
cout<<"\nSum of diagonal element is "<<endl;
cout<<"\nSum of the diagonal element is "<<endl;
for (i=1;i<=n;i++)
{
for (j=1;j<=m;j++)
Expand Down