RosettaCodeData/Task/Loops-Do-while/J/loops-do-while-3.j

12 lines
181 B
Plaintext

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
)