int count = 1; boolean isPrime; for(int i = 0; i<10; i++){ for(int j = 0; j<10; j++){ isPrime = true; if(count == 1){ isPrime = false; } else { for(int n=2; n