RosettaCodeData/Task/Synchronous-concurrency/J/synchronous-concurrency-1.j
2015-02-20 00:35:01 -05:00

10 lines
122 B
Text

input=: 1 :0
nlines=: 0
u;._2@fread 'input.txt'
smoutput nlines
)
output=: 3 :0
nlines=: nlines+1
smoutput y
)