void primeNumberEx(){ for(int j=500;j<600;j++){ boolean state=true; for(int i=2;i