单项选择题

A.if(x>0)then x=x-1;else x=x+1;
B.if(x>0)x=x-1;else x=x+1;
C.if x>0 x=x-1;else x=x+1;
D.if x>0 x=x-1;