Welcome to the Java Programming Forums.
I'm afraid no one is going to go over this assignment for you and offer you a complete solution.
You need to show us the code you have written so far and pinpoint exactly where you are stuck.
Break it down and make it as easy for us to help you as possible.
If you follow these rules, you will find that the quality of response you receive will improve greatly.
This thread has been cross posted here:
Although cross posting is allowed, for everyone's benefit, please read: