import com.rupeng.game.GameCore;
public class Main3 implements Runnable {
@Override
public void run() {
int[] srt = { 1, 3, 5, 7, 9 };
for (int a = 0; a < srt.length / 2; a++) {
int n1 = srt[a];
int n2 = srt[srt.length - a - 1];
srt[a] = n2;
srt[srt.length - a - 1] = n1;
}
for (int a = 0; a < srt.length; a++) {
System.out.println(srt[a]);
}
}
public static void main(String[] args) {
GameCore.start(new Main3());
}
}
public class Main3 implements Runnable {
@Override
public void run() {
int[] srt = { 1, 3, 5, 7, 9 };
for (int a = 0; a < srt.length / 2; a++) {
int n1 = srt[a];
int n2 = srt[srt.length - a - 1];
srt[a] = n2;
srt[srt.length - a - 1] = n1;
}
for (int a = 0; a < srt.length; a++) {
System.out.println(srt[a]);
}
}
public static void main(String[] args) {
GameCore.start(new Main3());
}
}