Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -1,15 +1,15 @@
|
|||
integer Fibonacci(integer n) {
|
||||
if(n<2) {
|
||||
return n;
|
||||
} else {
|
||||
return Fibonacci(n-1)+Fibonacci(n-2);
|
||||
}
|
||||
if(n<2) {
|
||||
return n;
|
||||
} else {
|
||||
return Fibonacci(n-1)+Fibonacci(n-2);
|
||||
}
|
||||
}
|
||||
default {
|
||||
state_entry() {
|
||||
integer x = 0;
|
||||
for(x=0 ; x<35 ; x++) {
|
||||
llOwnerSay("Fibonacci("+(string)x+")="+(string)Fibonacci(x));
|
||||
}
|
||||
}
|
||||
state_entry() {
|
||||
integer x = 0;
|
||||
for(x=0 ; x<35 ; x++) {
|
||||
llOwnerSay("Fibonacci("+(string)x+")="+(string)Fibonacci(x));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue