Im working with commandline options and could use some help (simplicity of language would be appreciated)

how do i Read the third command-line option as an integer.

and if the number is less than or equal to zero, print "too small".

-otherwise, create a list containing all the integers starting with 0

up to and including the number the user input.

- then print that list to standard out.

-If the sum of the numbers in the list is more than 10, print the

sum to standard out. Otherwise, print "sum is less than 10".