please i need help in my asignment
the assignment question is:

Write a functionto print the Fibonacci value at a given position in the series.you should write two versions of the function both of wich must be named Fibonacci(overload functions).the first version should be implemented using a for loop.the second version should be implemented using do until.

thanks in advance !

Good luck.

Public Position As Integer
Public Function Fibonacci() As Double
   If Position > -1 Then
      'A for loop
   End If
End Function
Public Function Fibonacci(ByVal position As Integer) As Double
   ' A Do Until loop
End Function

thanks a lot...this may help me a little bit

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.