Median is now better emphasized in verbose mode.
This commit is contained in:
parent
0cac8482b6
commit
7d2cf7e91a
@ -146,15 +146,15 @@ public class MMMCalc {
|
||||
for(int i = 0; i < numArray.length; i++) {
|
||||
if(even) {
|
||||
if(i == midVar - 1) {
|
||||
System.out.print(">" + numArray[i] + " !" + median + "! ");
|
||||
System.out.print(">>" + numArray[i] + " !" + median + "! ");
|
||||
} else if(i == midVar) {
|
||||
System.out.print(numArray[i] + "< ");
|
||||
System.out.print(numArray[i] + "<< ");
|
||||
} else {
|
||||
System.out.print(numArray[i] + " ");
|
||||
}
|
||||
} else {
|
||||
if(i == midVar) {
|
||||
System.out.print(">" + numArray[i] + "< ");
|
||||
System.out.print(">>" + numArray[i] + "<< ");
|
||||
} else {
|
||||
System.out.print(numArray[i] + " ");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user