Clean up & add yes utility

This commit is contained in:
joachimschmidt557 2019-03-07 16:24:29 +01:00
parent cdb226da8c
commit c4a8616344
7 changed files with 28 additions and 7 deletions

11
factor.nim Normal file
View file

@ -0,0 +1,11 @@
import cligen
import common
proc factor(num:int):seq[int] =
result = @[0]
proc main(integers:seq[int]) =
for number in integers:
echo number, ": ", factor(number)
dispatch(main)