Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
11
Task/Fibonacci-sequence/FOCAL/fibonacci-sequence.focal
Normal file
11
Task/Fibonacci-sequence/FOCAL/fibonacci-sequence.focal
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
01.10 TYPE "FIBONACCI NUMBERS" !
|
||||
01.20 ASK "N =", N
|
||||
01.30 SET A=0
|
||||
01.40 SET B=1
|
||||
01.50 FOR I=2,N; DO 2.0
|
||||
01.60 TYPE "F(N) ", %8, B, !
|
||||
01.70 QUIT
|
||||
|
||||
02.10 SET T=B
|
||||
02.20 SET B=A+B
|
||||
02.30 SET A=T
|
||||
Loading…
Add table
Add a link
Reference in a new issue