Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Loops-Do-while/J/loops-do-while-1.j
Normal file
7
Task/Loops-Do-while/J/loops-do-while-1.j
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
,.([^:(0=6|])>:)^:a: 0
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
7
Task/Loops-Do-while/J/loops-do-while-2.j
Normal file
7
Task/Loops-Do-while/J/loops-do-while-2.j
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
0#]F.(>: [ echo [ _2 Z: * * 0=6|]) 0
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
11
Task/Loops-Do-while/J/loops-do-while-3.j
Normal file
11
Task/Loops-Do-while/J/loops-do-while-3.j
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
3 : 0 ] 0
|
||||
|
||||
NB. The 'st' in 'whilst' stands for 'skip test'
|
||||
|
||||
whilst. 0 ~: 6 | y do.
|
||||
y 1!:2 ]2
|
||||
y =. y+1
|
||||
end.
|
||||
|
||||
i.0 0
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue