package javaapplication25;
import java.util.Scanner;
public class JavaApplication25 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner teclado=new Scanner (System.in);
int Cantidad,num,f,valor;
Cantidad=0;
System.out.println("Cuantos numeros ingresados: ");
num=teclado.nextInt();
for(f=1;f<=num; f++)
{
System.out.println("ingrese el numero: ");
valor=teclado.nextInt();
if(valor>=1000);
{
Cantidad=Cantidad+1;
System.out.println("los valores ingresados son mayores o iguales o mil son: ");
Cantidad=teclado.nextInt();
}
}
}
}