Having trouble getting started

I have a homework assignment, which is listed below, and for some reason I just cannot think of how to start writing this code. Any help would be appreciated.

For a number N input by the user,
 Print the average of all numbers from 1 to N,
 Print the average of all even numbers from 1 to N, and
 Print the average of all odd numbers from 1 to N.
 Print the highest average value
 Print the least average value
Why not start with the very first bit:

For a number N input by the user,


Get the input from the user, and check it's a number.

Once you've got that bit done, then you can start thinking about the next one.
Topic archived. No new replies allowed.