单选题

public class Test {
    public static void main(String args[]) {
        int i = 1;
        int j = 8;
        int s = 0;
        do {
            if (i++ < --j) {
                s++;
                continue;
            }
            if (i > j) {
                s++;
                break;
            }
        } while (i < 4);
        System.out.print(i);
        System.out.print(j);
        System.out.print(s);
    }
}
程序运行输出结果是:

发布于 2020-12-25 22:07:43

登录后免费查看答案
关注者
0
被浏览
169
知识点
面圈网VIP题库

面圈网VIP题库全新上线,海量真题题库资源。 90大类考试,超10万份考试真题开放下载啦

去下载看看