Trabajo
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package vectorb;
import javax.swing.JOptionPane;
/**
*
* @author Estudiantes
*/public class Main {
private static int vector_a[]= new int [10];
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO codeapplication logic here
int op1,sw,clave,x,y,aux,op,num;
String Menu="***Operaciones Con Vectores***"+
"\n***Institucion Educativa Cced***"+"\n***Tecnico En Sistemas y Administrador De Redes***"+
"\n***Deryam David Mondragon Antero***"+
"\n1...Sub menu vectores"+
"\n2...sub menu matriz"+"\n3...sub menu Varios"+
"\n4...Salir del Programa"+
"\n...Digite su opcion"+
"\n";
do{switch(op1)
{
case 1:
String Menu1="***Operaciones Con Vectores***"+
"\n***Institucion Educativa Cced***"+"\n***Tecnico En Sistemas y Administrador De Redes***"+
"\n***Deryam David Mondragon Antero***"+
"\n1...Almacenar"+
"\n2...Buscar"+"\n3...Modificar"+
"\n4...Eliminar"+
"\n5...Ordenar"+
"\n6...Listar"+
"\n7...Salir Del Programa"+
"\n***Digite SuOperacion***"+
"\n";
do{
op=Integer.parseInt(JOptionPane.showInputDialog(Menu));
switch(op){
case 1:for(x=0;x<=7;x++)
{
num=Integer.parseInt(JOptionPane.showInputDialog("Entre El Elemento "+x));
vector_a[x]=num;
}...
Regístrate para leer el documento completo.