if not (x>=100 and x<=999 and x=int(x))
messagebox ("输入错误, 请重新输入")
else
a=int(x/100)
b=int((x%100)/10)
c=x%10
if x=a^3+b^3+c^3
thisform.label2.caption="该数是水仙花数!"
else
thisform.label2.caption="该数不是水仙花数!"
endif
endif
你说VFO应该是VF数据库吧,那个C语言,是编译程序, C++,建议你不必去学VF了现在微软已经不对VF数据库进行更新和升级了,学习别的数据库ACCESS,C语言是每个大学生学习计算机的必修课也是过级的必修课,你说谁最受欢迎呢。欢迎分享,转载请注明来源:内存溢出
评论列表(0条)