Академический Документы
Профессиональный Документы
Культура Документы
import java.util.Scanner;
/**
*
* @author adminstrador
*/
public class Ejercicio1 {
public static void main(String[] args) {
menor = array[0];
mayor = menor;
}
/*
* To change this license header, choose License Headers in Project
Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tallerunidad4;
import java.util.Scanner;
}
if (contPrimo == 2) {
System.out.println(" Numero primo es: " + vNumero[x]);
}
x = x + 1;
}
}
}
/*
* To change this license header, choose License Headers in Project
Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tallerunidad4;
import java.util.Scanner;
import java.util.Scanner;
import java.util.Scanner;
}
System.out.print("\n");
System.out.println(" Mostrando elementos del vector en orden inverso:
");
for (int i = vNumero.length - 1; i > -1; i--) {
System.out.print( vNumero[i] + ": ");
}
}
}