/**
* @author 冰樱梦
* 时间:2018年下半年
* 题目:找出能被5或6整除,但是不能被两者同时整除的数
*
*/
public class Exercise05_11 {
public static void main(String[] args){
int count=0;
for(int i=101;i<200;i++){
if(i%5==0 && i%6==0) i++;
else if(i%5==0 || i%6==0){
System.out.print(i+" ");
count++;
if(count%10==0) System.out.printf("\n");
}
}
}
}
05-26 00:20