Advertisement
Alex_Zuev

Untitled

Feb 28th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.54 KB | None | 0 0
  1. package com.company;
  2.  
  3. /**
  4.  * Created by Alex on 28.02.2015.
  5.  */
  6. public class MasiveDual {
  7.     public static void main(String[] args) {
  8.         int  m[][]= new int[8][5];
  9.         for (int i=0; i<m.length;i++){
  10.             for (int j=0;j<m[i].length;j++){
  11.                 m[i][j]=(int)(Math.random()*90+10);
  12.             }
  13.         }
  14.             for (int i=0;i<m.length;i++) {
  15.                 for (int j = 0; j < m[i].length; j++) {
  16.                     System.out.print(m[i][j]+" ");
  17.                 }
  18.                 System.out.println();
  19.             }
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement