MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / convert

Method convert

Programs/SortNonBoundary.java:34–51  ·  view source on GitHub ↗
(int s)

Source from the content-addressed store, hash-verified

32 }
33 }
34 void convert(int s)
35 {
36 int x=0;
37 for(int i=0;i<m;i++)
38 {
39 for(int j=0;j<m;j++)
40 {
41 if(i != 0 && j != 0 && i != m-1 && j != m-1)
42 {
43 if(s==1)
44 B[x] = A[i][j];
45 else
46 A[i][j] = B[x];
47 x++;
48 }
49 }
50 }
51 }
52 void sortArray()
53 {
54 int c = 0;

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected