首页 › 答案 › 题库 › 慕课 › 未分类

下列程序的输出结果是()。a=1;switch a case 3|4 disp('ok') case {1,2} disp('perfect') otherwise disp('no')end

下列程序的输出结果是()。a=1;switch a case 3|4 disp('ok') case {1,2} disp('perfect') otherwise disp('no')end
A.ok
B.perfect
C.no
D.2
正确答案:ok