• 2022-07-25
    能够完成如下函数计算的程序段是____.
    A: y=2*x+1;if(x!=0)if(x>0)y=5*x+20;elsey=0;
    B: if(x>=0)if(x>0)y=5*x+20;elsey=0;elsey=2*x+1;
    C: y=0;if(x>=0)if(x>0)y=5*x+20;elsey=2*x+1;
    D: y=2*x+1;if(x>0)y=5*x+20;elsey=0;