Списибо, уже пофиксил все.
Код | public static void main(String[] args) throws Exception { Util.printSection("Create by Wir_Wolf"); _log.log(Level.ALL,"Create by Wir_Wolf"); gen_vector(); } private static void gen_vector() { _log.info("Введите количество строк"); //Console cons = System.console(); //x =Integer.parseInt(cons.readLine()); x=10; _log.info("Введите количество столбцов"); //Console console = System.console(); // y = Integer.parseInt(console.readLine()); y=10; v = new int[x][y]; for(int i = 0; i < x; i++) { for(int j = 0; j < y; j++){ v[i][j] = Math.abs(random.nextInt()) % 100; // _log.log(Level.INFO,String.valueOf(Math.abs(random.nextInt()))); } } } }
|
|