Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Bidimensional (int f, int c){
- mat= new int [f][c];
- }
- public int[][] matriz ( int col,int fil){
- for (int i = 0; i < 4; i++) {
- for (int j = 0; j < col; j++) {
- mat[i][j] =Integer.parseInt( JOptionPane.showInputDialog("Ingrese su voto para el canditado " + "A[" + i + "][" + j + "] " ));
- }
- }
- return mat;
- }
Add Comment
Please, Sign In to add comment