问题描述:
随机产生一个4位正整数,求出该数的倒序数,输出该数及倒序数.如为1234,则倒序为4321.完成以下代码.
dim x as integer,s as string,d as string
randomize
x = int(________________)
s = int______________(x)
d = right(s,1) +_____________
show
print "产生的数:"; x,"倒序数:"; d
end sub
dim x as integer,s as string,d as string
randomize
x = int(________________)
s = int______________(x)
d = right(s,1) +_____________
show
print "产生的数:"; x,"倒序数:"; d
end sub
问题解答:
我来补答展开全文阅读