计算z的值:当x大于y时,z=x;否则,z=y。下列语句行错误的是( )。
A.If x=y Then z=x:z=y
B.If x>=y Then z=x Else z=y
C.z=y:If x>=y Then z=x
D.If x<=y Then z=y Else z=x
正确答案是A