Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
15
Task/Factorial/FOCAL/factorial.focal
Normal file
15
Task/Factorial/FOCAL/factorial.focal
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
1.1 F N=0,10; D 2
|
||||
1.2 S N=-3; D 2
|
||||
1.3 S N=100; D 2
|
||||
1.4 S N=300; D 2
|
||||
1.5 Q
|
||||
|
||||
2.1 I (N)3.1,4.1
|
||||
2.2 S R=1
|
||||
2.3 F I=1,N; S R=R*I
|
||||
2.4 T "FACTORIAL OF ", %3.0, N, " IS ", %8.0, R, !
|
||||
2.9 R
|
||||
|
||||
3.1 T "N IS NEGATIVE" !; D 2.9
|
||||
|
||||
4.1 T "FACTORIAL OF 0 IS 1" !; D 2.9
|
||||
Loading…
Add table
Add a link
Reference in a new issue