Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Ejercicios{
- public static void main(String args[]){
- int a []= new int [100];
- int filas= 50, columnas= 20, contador= 0;
- int numeros [][]= new int [filas][columnas];
- for(int i= 10; i < filas; i++){
- a[i] = (int) (Math.random()* 100);
- for(int k= 10; k < columnas; k++){
- System.out.println(a[k]);
- numeros [i][k]= contador;
- System.out.println (+ numeros[i][k]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement