Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int a;
- a=Integer.parseInt(txt1.getText());
- String datos[][] = new String[a][4];
- for(int i=0;i<a;i++){
- JOptionPane.showMessageDialog(null,"Ha ingresado "+i+" datos");
- JOptionPane.showMessageDialog(null,"Ingrese los datos en el siguiente orden nCedulanNombrenDireccionnTelefono");
- for(int j=0;j<4;j++){
- datos[i][j]=JOptionPane.showInputDialog(null,"Ingrese los datos");
- }
- }
- JOptionPane.showMessageDialog(null,"Busqueda de los datos ingresados");
Add Comment
Please, Sign In to add comment