//答案:x=1,x=3......
//答案:y=4,y=10,y=16....
public class ScoreLevel6 {
public static void main(String[] args) {
for(int x=1;x<10;x+=2){
System.out.println("x="+x);
//答案:x=1,x=3......
}
for(int y=4;y<29;y+=6){
System.out.println("y="+y);
//答案:y=4,y=10,y=16....
}
}
}
沒有留言:
張貼留言