import java.util.*;
import static java.lang.System.*;
public class tester
{
public static void main(String args[])
{
Scanner kbReader = new Scanner (in);
System.out.print("Enter your integer here."); //enter 3001
int i = kbReader.nextInt( );
int count =0;
for(int i = 100; i <= 999; i++)
{
int factors = 0 ;
for (int j = i;j<=i;j++)
{
if(i%j == 0)
factors++;
}
if (factors == 2)
out.print(i+"\t");
if((count +1) %5 == 0)
System.out.println();
count ++;
}
}
}
it says "i is already defined in main(java.lang.String[])
"
what's wrong?