VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Display a fibonacci series

by Salvador "Doy" Relleta Jalayajay (3 Submissions)
Category: Math/Dates
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 17th July 2007
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Display a fibonacci series

Rate Display a fibonacci series



List1.Clear
a = CInt(Text1.Text)
b = CInt(Text2.Text)
c = CInt(Text3.Text)
List1.AddItem a
List1.AddItem b
For d = 1 To c - 2
e = a + b
List1.AddItem e
a = b
b = e
Next d
End Sub

Download this snippet    Add to My Saved Code

Display a fibonacci series Comments

No comments have been posted about Display a fibonacci series. Why not be the first to post a comment about Display a fibonacci series.

Post your comment

Subject:
Message:
0/1000 characters