Nim/web/snippets/snippet1.nim
2010-02-28 18:14:27 +01:00

4 lines
144 B
Nim
Executable file

import strutils
echo "Give a list of integers (separated by spaces): ",
stdin.readLine.split.each(parseInt).max,
" is the maximum!"