Created
May 15, 2017 06:56
-
-
Save cTxplorer/9a9413c18bb1fbc112ff1a4e8dbe7a88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This is logical code snippet. It's language independent. | |
*/ | |
C = 100 | |
for i = 1 to n do | |
for j = 1 to n do | |
{ | |
Temp = A[i][j] + C | |
A[i][j] = A[j][i] | |
A[j][i] = Temp - C | |
} | |
for i = 1 to n do | |
for j = 1 to n do | |
Output(A[i][j]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment