Guest User

Untitled

a guest
Jan 23rd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. public Bidimensional (int f, int c){
  2. mat= new int [f][c];
  3. }
  4. public int[][] matriz ( int col,int fil){
  5. for (int i = 0; i < 4; i++) {
  6. for (int j = 0; j < col; j++) {
  7.  
  8. mat[i][j] =Integer.parseInt( JOptionPane.showInputDialog("Ingrese su voto para el canditado " + "A[" + i + "][" + j + "] " ));
  9.  
  10. }
  11. }
  12. return mat;
  13. }
Add Comment
Please, Sign In to add comment