下面这段代码的输出为( ) int year = 2046; if (year % 2 == 0) { Console.WriteLine("进入了if"); } else if (year % 3 == 0) { Console.WriteLine("进入了else if"); } else { Console.WriteLine("进入了else"); } Console.ReadLine();
A.
进入了if
B.
进入了if,进入了else
C.
进入了else
D.
进入了if ,进入了else if,进入了else
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】Questions 51 to 55 are based on the following passage. It’s time to reevaluate how women handle conflict at work. Being overworked or over-committed at home and on the job will not get you where you w...
A.
They are often unclear about the career goals to reach.
B.
They are usually more committed at home than on the job.
C.
They tend to be over-optimistic about how far they could go.
D.
They tend to push themselves beyond the limits of their ability.
【单选题】Questions 16 to 20 are based on the following passage. It’s time to reevaluate how women handle conflict at work. Being overworked or over-committed at home and on the job will not get you where you...
A.
They are often unclear about the career goals to reach.
B.
They are usually more committed at home than on the job.
C.
They tend to be over-optimistic about how far they could go.
D.
They tend to push themselves beyond the limits of their ability.