public class TestContinue {
public static void main(String[]args) {
//100-150能被三整除的数
System.out.println("100-150能被三整除的数:");
int count01 = 0;
for(int i =100;i<=150;i++) {
if(i%3!=0){
System.out.print(i+"\t");
count01++;
continue;
}while(count01==5) {
System.out.println();
count01=0;
}
}
}
}