Input/Output for lines of text: Difference between revisions
Content added Content deleted
(Add Julia language) |
|||
Line 319: | Line 319: | ||
} |
} |
||
}</lang> |
}</lang> |
||
=={{header|Julia}}== |
|||
{{works with|Julia|0.6}} |
|||
<lang julia>function dosomething(words) |
|||
print(words) |
|||
end |
|||
nlines = parse.(Int, readline()) |
|||
for _ in 1:nlines |
|||
words = readline() |
|||
dosomething(words) |
|||
end</lang> |
|||
=={{header|Kotlin}}== |
=={{header|Kotlin}}== |