单项选择题
设有分段函数()
A、Select Case x Case is<0 y=5 Case is <=5,is>0 y=2*x Case Else y=x*x+1 End Select
B、If x<0 then y=5 Elself x<=5 then y=2*x Else y=x*x+1 End If
C、y=1 If{x<0,5,1 If(x<=5,2*x,x*x+1)}
D、If x<0 then y=5 If x<=5 and x>=0 then y=2*x If x>5 then y=x*x+1