Sorry we don't do homework here. This is very basic programming. I suggest you study the basics and complete it yourself - http://www.cplusplus.com/doc/tutorial/basic_io/
There are plenty of resources, the tutorials on this website are good, if you prefer watching there are plenty of youtube tutorials. Or just simply pick up a beginners book.
If you run into trouble, post your code using code tags - http://www.cplusplus.com/articles/jEywvCM9/
and ask a specific question, we will be more than happy to help you :)
If you want someone to make the code for you, feel free to post under the Jobs section and offer a payment.