问题 单项选择题

有如下嵌套的if语句  if (a   if(a< p>   else k=c;  else  if(b   else k=c;  以下选项中与上述if语句等价的语句是

A.k=(a

B.k=(a

C.k=(a

D.k=(a

答案

参考答案:C

选择题
选择题