Advertisement
Guest User

Untitled

a guest
Jul 1st, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Scanner console=new Scanner(System.in);
  2. findMaxcoumn();
  3. returnAvg();
  4.  
  5. double Random =new Random().nextDouble();
  6. int lastdigit=8;
  7. System.out.println("Write a row");
  8. int n=console.nextInt();
  9. System.out.println("write column");
  10. int y=console.nextInt();
  11.  
  12. int [][] array=new int[n][y];
  13. if(y>lastdigit+5){
  14. System.out.println("Write a column again");
  15. int k=console.nextInt();
  16. int [][] array2=new int[n][k];
  17. int [][] array2=rand.nextdouble(8.0)+4.0;
  18. }
  19. }
  20. }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement