Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scanner console=new Scanner(System.in);
- findMaxcoumn();
- returnAvg();
- double Random =new Random().nextDouble();
- int lastdigit=8;
- System.out.println("Write a row");
- int n=console.nextInt();
- System.out.println("write column");
- int y=console.nextInt();
- int [][] array=new int[n][y];
- if(y>lastdigit+5){
- System.out.println("Write a column again");
- int k=console.nextInt();
- int [][] array2=new int[n][k];
- int [][] array2=rand.nextdouble(8.0)+4.0;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement