当前位置:大问百书>生活百科>vb四叶玫瑰数

vb四叶玫瑰数

2024-09-12 01:50:46 编辑:zane 浏览量:647

vb四叶玫瑰数

的有关信息介绍如下:

问题补充说明:Dim a As Integer, b As Integer, c As Integer, d As Integer Private Sub Command1_Click() For i = 1001 To 9999 Step 1 a = i / 1000 b = (i - a * 1000) / 100 c = (i - a * 1000 - b * 100) / 10 d = i - a * 1000 - b * 100 - c * 10 If a ^ 4 ... Dim a As Integer, b As Integer, c As Integer, d As IntegerPrivate Sub Command1_Click()For i = 1001 To 9999 Step 1a = i / 1000b = (i - a * 1000) / 100c = (i - a * 1000 - b * 100) / 10d = i - a * 1000 - b * 100 - c * 10If a ^ 4 + b ^ 4 + c ^ 4 + d ^ 4 = i ThenPicture1.Print iEnd IfNext iEnd Sub为什么没有数出来,哪里出错了 展开

vb四叶玫瑰数

运算符号输入错误了???

所有的符号/改为\(方向反了)

版权声明:文章由 大问百书 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.dawenbaishu.com/life/96466.html
热门文章