JavaFor循环语句

 

 

 

 

 

 

 

package com.AoChenguang.Struct;

public class ContiueDemon {
public static void main(String[] args) {
int i =0;
while (i<100){
i++;
if (i%10==0){
System.out.println();
continue;
}
System.out.print(i);
}
}
}

 

posted @ 2020-05-28 12:25  光光1234  阅读(402)  评论(0编辑  收藏  举报