package examenparcial;
import [Link];
class ExamenParcial {
public static void main(String[] args) {
int opcion ;
Metodos Rip =new Metodos();
int numero = 0;
do{
opcion = [Link]([Link](
"BIENVENIDO\n"
+ "1. MOSTRAR ARREGLO DE 20 NROS. PRIMOS\n"
+ "2. MOSTRAR ARREGLO DE 20 NROS. NATURALES Y SUS FACTORIALES\n"
+ "3. MOSTRAR ARREGLO DE 20 NROS. PARES\n"
+ "4. MOSTRAR ARREGLO DE 20 NROS. IMPARES\n"
+ "5. SALIR\n"));
switch(opcion){
case 1: [Link]();
Rip.MostrarDatos1();
break;
case 2: [Link]();
[Link]();
break;
case 3: [Link]();
Rip.MostrarDatos1();
break;
case 4: [Link]();
Rip.MostrarDatos1();
break;
case 5:
[Link](null, "HASTA LUEGO PROFE");
[Link](null, "ESPERO MI 20");
break;
default:
[Link](null, "Opcion invalida");
break;
}
}while(opcion!=5);