langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
|
|
@ -0,0 +1,14 @@
|
|||
Function fibo(n as integer) As UInt64
|
||||
|
||||
dim noOne as UInt64 = 1
|
||||
dim noTwo as UInt64 = 1
|
||||
dim sum As UInt64
|
||||
|
||||
for i as integer = 1 to n
|
||||
sum = noOne + noTwo
|
||||
noTwo = noOne
|
||||
noOne = sum
|
||||
Next
|
||||
|
||||
Return noOne
|
||||
End Function
|
||||
Loading…
Add table
Add a link
Reference in a new issue