Guest User

Untitled

a guest
Jan 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. int a;
  2. a=Integer.parseInt(txt1.getText());
  3. String datos[][] = new String[a][4];
  4.  
  5. for(int i=0;i<a;i++){
  6. JOptionPane.showMessageDialog(null,"Ha ingresado "+i+" datos");
  7. JOptionPane.showMessageDialog(null,"Ingrese los datos en el siguiente orden nCedulanNombrenDireccionnTelefono");
  8. for(int j=0;j<4;j++){
  9. datos[i][j]=JOptionPane.showInputDialog(null,"Ingrese los datos");
  10. }
  11.  
  12. }
  13. JOptionPane.showMessageDialog(null,"Busqueda de los datos ingresados");
Add Comment
Please, Sign In to add comment