For 2, what are all even numbers divisible by that odd numbers are not?
For 4, loop backwards.
For 5, nested loops.
For 6, a loop and a an array of length 5 for summing, and divide by 10 and minus 5 to index into it.
There, there are the ideas for each of them.
Us doing your homework for you would not help you. You would learn nothing, and so would come back here tommorrow begging for "help" again, because what you need to do tommorrow built on what you did today, but you didn't do anything today (other than cut-n-paste). That's the way it is, if we simply do it for you, so, no, we are not going to do it for you, that does not help you. Those who fail with effort still understand more than those who pass without it.
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
Offline 4,043 posts
since Feb 2006