public class p6 {
public static void main(String[] args) {
int s = 0;
//先干活,再判断条件是否为真
do {
System.out.printf("输出 %d \n ",s);
s++;
} while (s<100);
}
}
Java中do..while使用
猜你喜欢
转载自blog.csdn.net/qq_43314793/article/details/90107041
今日推荐
周排行