PLEASE do not expect our members to do your homework FOR YOU! We suggest that you supply code that you are having problems with.
This is a common rule at most programming forums, not just this one.
You can post your code that you have attempted and we can try to help you with problems you are having.
Member posts that supply FULL homework code solutions will be removed!
We are interested in helping you learn programming and help you develop better programs here.
Remember that you are cheating yourself and your classmates otherwise. Feel free to look through the forums for code that can help you, but keep in mind that your teacher will probably be able to see that you "borrowed" code if it is beyond your present learning level.
Disable BBCode in this post disables code boxes when you may want to use them! When posting code UNCHECK the box before posting!