單項(xiàng)選擇題

執(zhí)行如下程序段后,變量x、y的值分別為()。
x=2
y=3
if x>y then
x=x+y
print x,y
else
x=x-y
print x,y
end if

A.-1、3
B.1、3
C.3、-1
D.3、1


您可能感興趣的試卷