单项选择题
有以下计算公式若程序前面已在命令行中包含math.h文件,不能够正确计算上述公式的程序段是()
A.if(x>=0 y=sqrt(; else y=sqrt(-; B.y=sqrt( if(x<0)y=sqrt(-; C.if(x>=0) y=sqrt(; if(x<0)y=sqrt(-; D.y=sqrt(x>=0x:-;
A.0,0 B.0,1 C.1,1 D.程序进入无限循环
A.55566.0 B.566.0 C.7777.0 D.566777.0