> 数学 >
单分支if语句都满足.最后得出怎样的结果啊.比如,x=3 if x^2>8 then y=x^2+1 if x^2=9 then y=x^2-2 if
比如,x=3
if x^2>8 then y=x^2+1
if x^2=9 then y=x^2-2
if x^2
人气:450 ℃ 时间:2020-06-07 19:23:10
解答
x=8
因为前两个语句都执行了,x取第二个语句得到的值
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版