单选题

对于下面的程序段: x:=28; y:=20; z:=30; if x>y then z:=x+y; x:=y; z:=x+y; y:=z; 执行该程序段后,变量y的值为()

A28

B30

C40

D48

正确答案

来源:www.examk.com

答案解析