Are posting your homework assignment?
gerard4143
Nearly a Posting Maven
2,272 posts since Jan 2008
Reputation Points: 512
Solved Threads: 387
Sorry its against the forum rules. You must first post your attempted code and any questions.
gerard4143
Nearly a Posting Maven
2,272 posts since Jan 2008
Reputation Points: 512
Solved Threads: 387
if this is your homework it means that you should know to do it, it's not our fault that you didn't learn when you have to.
we can't do that for you, we only can guide you to the right direction, not build the path for you
dospy
Junior Poster in Training
95 posts since Jun 2009
Reputation Points: 65
Solved Threads: 6