![](https://cos-cdn.shuashuati.com/pipixue-web/2020-1231-2005-12/ti_inject-812ce.png)
下面 If 语句统计满足性别(sex)男、职称(duty)为副教授以上、年龄(age)小于40岁条件的人数,正确的语句是()。
A.
If sex= “ 男 ” And age<40 And InStr(duty, “ 教授 ” )>0 Then n=n+1
B.
If sex= “ 男 ” And age<40 And duty=“ 教授 ” or duty=“ 副教授 ” Then n=n+1
C.
If sex= “ 男 ” And age<40 And Right(duty,2)=“ 教授 ” Then n=n+1
D.
If sex= “ 男 ” And age<40 And duty=“ 教授 ” And duty=“ 副教授 ” Then n=n+1