public class Ex66 {
public static void main(String[] args) {
// TODO Auto-generated method stub
double v[] = {1.5, 2.2, 8.4, 6.8, 1.7, 7.7, 3.5, 6.2, 4.4, 2.2, 0.0};
/*
double v[] = new double [4];
for (int i = 0; i < v.length; i++) {
JOptionPane.showInputDialog("preencha o indice " +i+" do vetor");
}
*/
v = ordenaSelectDecrescente(v);
for (int i = 0; i < v.length; i++) {
System.out.println(v[i]);
}
}
public static double[] ordenaSelectDecrescente(double v[]){
int iA, iB, iC;
double iT;