A、if(x>0)y=1;
B、if(x)else if(x<O)y=1; if(x>0)y=1;else y=0; else if(x%0)y=-1;else y=0;
C、y=-1
D、y=0;if(x) if(x>=O)if(x>O)y=1; if(xi>=O)y=1;else if(x==0)y=0; else y=-1;else y=-1;
A、if(x>0)y=1;
B、if(x)else if(x<O)y=1; if(x>0)y=1;else y=0; else if(x%0)y=-1;else y=0;
C、y=-1
D、y=0;if(x) if(x>=O)if(x>O)y=1; if(xi>=O)y=1;else if(x==0)y=0; else y=-1;else y=-1;