> 数学 >
一个四位数是他各位数字和的83倍,则这个四位数为?
人气:137 ℃ 时间:2020-05-13 09:41:11
解答
x=int(999/83)+1
for i=x to 10000/83
y=i*83
z=0
for j=1 to 4
z=z+cint(mid(y,j,1))
next
if i=z then 输出y值
next
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版