It prints Flip Method (only prints 9 to 5 ) but I want it to print from 9 to 0 http://imgur.com/gggiJwn public static void flip(int[] flp){ System.out.println("This is the flip method");
for ( int i = 0; i < flp.length; i++){
int e = flp.length-1;
int temp = flp[e-i];
flp[i] = flp[e-i];
flp[i] = temp;
e--;
System.out.println("Index"+(i)+" :"+flp[i]); //is this the problem?
}
}
}