下面语句与下列 if 语句等价的是if(a>b) s=a+b;else s=a-b() - 上 ...
A.switch(a>b) { case 1: s=a+b; break; case 0: s=a-b; break; }B.switch(a>b) { case 1: s=a+b; case 0: s=a-b; }C.switch(a<b) { case 1: s=a-b; case 0: s=a+b; }D.switch(a<b) { case 1: s=a-b; break; case 0: s=a+b; break; }请帮忙给出正确...