Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package javaapplication5;
- import java.util.Scanner;
- public class JavaApplication5 {
- public static void main(String[] args) {
- Scanner input = new Scanner(System.in);
- int filas = input.nextInt();
- int columnas = input.nextInt();
- int[][] votos = new int[filas][columnas];
- for (int i = 0; i < filas; i++) {
- for (int j = 0; j < columnas; j++) {
- System.out.println("valores");
- votos[i][j]=input.nextInt();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement