I am trying to validate negative numbers but I haven't got clear how to do it, I've tried many steps but it's impossible, I think this the part of the code where I've got to validate because here is where it starts to do the rest, example if after entering name of employee it asks me to enter salary so I've got to avoid negative numbers.
for (int i = 0; i < e; i++) {
System.out.println("Ingrese el nombre del "+(i+1)+" empleado");
arr[i][0] = b.readLine();
for (int j = 1; j < 4; j++) {
System.out.println("ingrese el "+Concepto(j-1));
arr[i][j]=String.valueOf(b.readLine());
}
}