I have a for loop which looks like so: for(int x = 0; x<=1000; x++){ System.out.println(x/3); }
Now for some insanely strange reason, when I run the code, it repeats the awnsers however many times im dividing by. So lets say its 3 it prints 000 111 222 and so on, 4 is like 1111 2222 3333 and etc. How in the world do I fix this, i've tried a bunch of different ideas, nothing.