hi everyone, i have to make a java program that generates "lucky numbers" with arrays
The finishing result should be this
1 2 3 4 5 6 7 8 9 10 original
1 3 5 7 9 remove every second number from the original
1 3 7 9 remove every 3 number from the above
1 3 7 remove every 4 number from above
So far i have the first two but i'm stuck on the other the lines
Code :for( int j = 0 ; j < start.length; j +=2 ) { System.out.print( start[i] + " ");
this code is for the second line
if anyone has any ideas they would be much appreciated

