【新手提问】一段代码,求100-999之间的回文数
vb吧
全部回复
仅看楼主
level 1
sunruj
楼主
回文数就是类似121 242这种倒过来也是这个数。
我是新人~求关照~
2012年08月15日 01点08分
1
吧务
level 15
放飞希望,追逐梦想
for i = 100 to 999
if ... then
...
end if
next
2012年08月15日 03点08分
4
level 1
sunruj
楼主
这。。。
2012年08月15日 04点08分
6
level 11
333xxxyyywww33
If StrReverse(CStr(i)) = CStr(i) Then.......
2012年08月15日 06点08分
7
level 9
春风1974
for i=1 to 9
for j=0 to 9
print trim(str(i)) & trim(str(j)) & trim(str(i))
next
next
2012年08月15日 21点08分
8
昭亭山赏雪
用cstr就好了
2012年08月15日 23点08分
sunruj
膜拜大神
2012年08月16日 01点08分
level 11
shengjian02
2012年08月16日 00点08分
9
level 11
引力微子球🌐
曾经c写过一个的说,很方便啊
2012年08月18日 14点08分
10
1