RosettaCodeData/Task/Synchronous-concurrency/J/synchronous-concurrency-1.j
2023-07-01 13:44:08 -04: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
)