游戏规则:从任意一个数开始报数,当你要报的数包含7或者是7的倍数时都要喊过
public class demo {
public static void main(String[] args){
for (int i = 1;i <= 100;i++){
if(i % 10 == 7 || i / 10 % 10 == 7 || i % 7 == 0){
System.out.println("过");
continue;
}
System.out.println(i);
}
}
}