تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
كود لـعرض fibonacci series
#1
كاتب الموضوع : Norhan Adel


كود :
Dim a As Integer, b As Integer, c As Integer, d As Integer, e As Integer

Private Sub Command1_Click()
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
}}}
تم الشكر بواسطة:


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم