摘要:2.输入x=5.运行下面的程序之后得到的y等于 16 .
网址:http://m.1010jiajiao.com/timu_id_3503843[举报]
输入x=5,运行下面的程序之后得到y等于_____。
Input x
If x<0 then
y=(x+1)*(x+1)
Else
y=(x-1)*(x-1)
End if
Print y
End
查看习题详情和答案>>输入x=5,运行下面的程序之后得到y等于_____。
Input x
If x<0 then
y=(x+1)*(x+1)
Else
y=(x-1)*(x-1)
End if
Print y
End
Input x
If x<0 then
y=(x+1)*(x+1)
Else
y=(x-1)*(x-1)
End if
Print y
End