A. 2
- int x=2;
- switch(x){
- case 1: x+=1;
- case 2: × += 2;
- case 3: ×+=3; break;
- default: ×= 0;
- }
- cout << x;
B. 4
C.7
D. 0
A. 2
- int x=2;
- switch(x){
- case 1: x+=1;
- case 2: × += 2;
- case 3: ×+=3; break;
- default: ×= 0;
- }
- cout << x;
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会