version0.7.10
This commit is contained in:
parent
4d4b3b1c04
commit
36818817bd
14 changed files with 1011 additions and 0 deletions
6
examples/maximum.nim
Normal file
6
examples/maximum.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Test high level features
|
||||
|
||||
import strutils
|
||||
|
||||
echo "Give a list of numbers (separated by spaces): "
|
||||
stdin.readLine.splitSeq.each(parseInt).max.`$`.echo(" is the maximum!")
|
||||
Loading…
Add table
Add a link
Reference in a new issue