Leer un vector con N números enteros mayores a 100 con Scanner N
import java.util.Scanner; public class VectorN { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Ingrese el tamaño del arreglo: "); int n = input.nextInt(); int[] arreglo = new int[n]; for (int i = 0; i < arreglo.length; i++) { System.out.print("Ingrese un numero: "); arreglo[i] = input.nextInt(); while (arreglo[i] <= 100) { System.out.print("Ingrese otro numero mayor a 100: "); arreglo[i] = input.nextInt(); } } for (int i = 0; i < arreglo.length; i++) { System.out.print(arreglo[i] + ", "); } } }