write a program to take a 5x5 metrix by user and set the following.
1. if I=j then a[i][j]=0
2. if matrix element is divisible by 5 then set a[i][j]=+1 otherwise a[i][j]=-1
Answers
Answered by
0
tex
/html
1. if I=j then a[i][j]=0
2. if matrix element is divisible by 5 then set a[i][j]=+1 otherwise a[i][j]=-1
Similar questions