How do you get the sum of all numbers that are less than a max value and either even or odd? I know that I am not supposed to ask to have assignments done for me but this is not the whole program i just need the basic idea of how to get all of the even or odd numbers up to that certain number. I am sorry if this question isn't clear.
~Sven