下列程序段的执行结果为()x=Int((69-60)*Rnd+60)SelectCasexCaseIs>=90Print"优秀"Case80To89Print"良好"Case60To79Print"合格"CaseElsePrint"不合格"EndSelect
A.优秀
B. 良好
C. 合格
D. 不合格
- · 有5位网友选择 B,占比55.56%
- · 有2位网友选择 D,占比22.22%
- · 有1位网友选择 C,占比11.11%
- · 有1位网友选择 A,占比11.11%
A.优秀
B. 良好
C. 合格
D. 不合格
下列程序段执行后的输出结果为()。 int x=3; int y=10; System.out.println(y%x);
A.0
B.1
C.2
D.3
下列程序段执行后的输出结果为 int x=3; int y=10; System.out. println(y %x) ;
A.0
B.1
C.2
D.3
执行下列程序段之后,输出的结果为______。 public class ex41 { public static void main(string[] args) { int x=15; byte y=1; x>>=y++; System.out.println(x); } }
A.3
B.7
C.14
D.10
下列程序段的执行结果为______。 x=Int (Rnd+4) Select Case x Case 5 Print“优秀” Case 4 Print“良好” Case 3 Print“通过” Case Else Print“没有通过” End Select
A. 优秀
B.良好
C.通过
D.没有通过
A.优秀
B.良好
C.通过
D.不通过
下列程序段的执行结果为()。 #include<iostream> using namespace std; class example{ int n; public: example(int i){n=i;} void add(){s+=n;} static int s; void pr(){ cout<<s<<endl; } }; int example::s=0; int fuc(char *x); int main(){ example x(2),y(3),z(4); x. add(); y. add(); z.pr(); return 0; }
A.2
B.3
C.5
D.6
A.1512 85133
B.3581213 15
C.151312853
D.151213385
A.25
B.0
C.-25
D.不确定
下面程序段执行结果为
x=Int(Rnd()+4)
Select Case x
Case 5
Print"excellent"
Case4
Print"good"
Case 3
Print"pass"
Case Else
Print "fail"
End Select
A.excellent
B.good
C.pass
D.fall
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!