VB程序斐波那契数列代码

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/14 23:17:48
VB程序斐波那契数列代码VB程序斐波那契数列代码VB程序斐波那契数列代码dima,b,ciasintegera=1b=1fori=3to10c=a+ba=bb=cdebug.printcnexti

VB程序斐波那契数列代码
VB程序斐波那契数列代码

VB程序斐波那契数列代码
dim a,b,c i as integer
a =1
b=1
for i = 3 to 10
c = a+b
a=b
b=c
debug.print c
next i