下面程序段的输出结果是( )。
public class Test
public static void main(String args[])
int a, b;
for(a=1, b=1; a<=100; a++)
if(b>=10) break;
if (b%2==1)
b+=-2;
continue;
System.out.println(a);
题库:计算机等级考试
类型:最佳选择题
时间:2017-07-03 15:04:45
免费下载:《单项选择》Word试卷
下面程序段的输出结果是( )。
public class Test
public static void main(String args[])
int a, b;
for(a=1, b=1; a<=100; a++)
if(b>=10) break;
if (b%2==1)
b+=-2;
continue;
System.out.println(a);
A.5
B.6
C.7
D.101
本题关键词:输出结果,输出段梗阻,空肠输出段梗,面试程序,竣工结算程序,结果,肝糖输出,输出浓度,程序,结果均;