I spend with it about hour.:/
So how far have you got? Post the code you've got so far (even if it doesn't compile or work) and we'll give you some pointers towards your next steps. As it's homework we can't write the code for you as that would be considered cheating. If you are having trouble learning the basics from your tutor you might want to look at these on-line tutorials for c++.

http://www.cplusplus.com/doc/tutorial/
http://www.learncpp.com/

Have you used the cout statement in previous programs you're written and got to work properly? Have you used a for loop before?